From 5f5a11c009d876e377d90f6caa54e4666dc0e7d3 Mon Sep 17 00:00:00 2001 From: Ryo Suzumoto Date: Sat, 29 Jan 2022 02:53:20 +0900 Subject: [PATCH] add fixme --- TlmCmd/Ccsds/space_packet.c | 1 + TlmCmd/packet_handler.c | 2 ++ 2 files changed, 3 insertions(+) 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として処理する方針にした