diff --git a/TlmCmd/Ccsds/space_packet.c b/TlmCmd/Ccsds/space_packet.c index a4e1f47ff..154ccee8e 100644 --- a/TlmCmd/Ccsds/space_packet.c +++ b/TlmCmd/Ccsds/space_packet.c @@ -87,6 +87,7 @@ APID SP_get_apid(const SpacePacket* sp) SP_extract_param_from_packet(sp, &SP_pei_apid_, &tmp); apid = (APID)tmp; + // FIXME: ここはユーザー依存部分なので直す switch (apid) { case APID_MOBC_CMD: // FALLTHROUGH diff --git a/TlmCmd/packet_handler.c b/TlmCmd/packet_handler.c index 35ecef8eb..57fa4915b 100644 --- a/TlmCmd/packet_handler.c +++ b/TlmCmd/packet_handler.c @@ -169,6 +169,8 @@ PH_ACK PH_analyze_tlm_packet(const CommonTlmPacket* packet) flags = CTP_get_dest_flags(packet); + // FIXME: flag の match は関数化したい + // Housekeeping Telemetry if (flags & CTP_DEST_FLAG_HK) PH_add_ms_tlm_(packet); // hk_tlm のフラグが立っていても,MS_TLMとして処理する方針にした