Skip to content

Commit

Permalink
fix include
Browse files Browse the repository at this point in the history
  • Loading branch information
meltingrabbit committed Mar 8, 2024
1 parent 6ecda38 commit 608f0f5
Show file tree
Hide file tree
Showing 18 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion tlm_cmd/block_command_executor.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "packet_handler.h"
#include "../library/endian.h"
#include "../system/time_manager/time_manager.h"
#include "common_cmd_packet_util.h"
#include "./common_packet/common_cmd_packet_util.h"

static BlockCommandExecutor block_command_executor_;
const BlockCommandExecutor* const block_command_executor = &block_command_executor_;
Expand Down
2 changes: 1 addition & 1 deletion tlm_cmd/block_command_executor.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#ifndef BLOCK_COMMAND_EXECUTOR_H_
#define BLOCK_COMMAND_EXECUTOR_H_

#include "common_cmd_packet.h"
#include "./common_packet/common_cmd_packet.h"
#include "block_command_table.h"

/**
Expand Down
2 changes: 1 addition & 1 deletion tlm_cmd/block_command_loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "../applications/timeline_command_dispatcher_id_define.h"
#include "block_command_executor.h"
#include <src_user/tlm_cmd/command_definitions.h> // for rotate/combine block
#include "common_cmd_packet_util.h"
#include "./common_packet/common_cmd_packet_util.h"
#include "../library/endian.h"

#define BCL_PARAM_MAX_LENGTH BCT_CMD_MAX_LENGTH
Expand Down
2 changes: 1 addition & 1 deletion tlm_cmd/block_command_table.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include "../system/time_manager/time_manager.h"
#include "../library/endian.h"
#include "../system/watchdog_timer/watchdog_timer.h"
#include "common_cmd_packet_util.h"
#include "./common_packet/common_cmd_packet_util.h"

// FIXME: この include は依存的にダメなので, TCP → Space Packet 大工事が終わったら直す
#include "./ccsds/space_packet_protocol/space_packet.h"
Expand Down
2 changes: 1 addition & 1 deletion tlm_cmd/block_command_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ typedef uint32_t bct_id_t;
#error Illegal value for SIZE_OF_BCT_ID_T
#endif

#include "common_cmd_packet.h" // bct_id_t の定義よりあとにinclude
#include "./common_packet/common_cmd_packet.h" // bct_id_t の定義よりあとにinclude

/*
Block Command Table は
Expand Down
2 changes: 1 addition & 1 deletion tlm_cmd/command_analyze.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @brief コマンドの実行・登録,コマンド関連処理
*/
#include "command_analyze.h"
#include "common_cmd_packet_util.h"
#include "./common_packet/common_cmd_packet_util.h"
#include <src_user/tlm_cmd/command_definitions.h>
#include "../library/print.h"
#include "../system/event_manager/event_logger.h"
Expand Down
4 changes: 2 additions & 2 deletions tlm_cmd/command_analyze.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#ifndef COMMAND_ANALYZE_H_
#define COMMAND_ANALYZE_H_

#include "common_cmd_packet.h"
#include "common_cmd_packet_util.h"
#include "./common_packet/common_cmd_packet.h"
#include "./common_packet/common_cmd_packet_util.h"
#include <src_user/tlm_cmd/command_definitions.h>

#define CA_TLM_PAGE_SIZE (32) //!< コマンドテーブルの1テレメトリパケット(=1ページ)に格納されるコマンド数(ページネーション用)
Expand Down
4 changes: 2 additions & 2 deletions tlm_cmd/command_dispatcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#ifndef COMMAND_DISPATCHER_H_
#define COMMAND_DISPATCHER_H_

#include "common_cmd_packet_util.h"
#include "common_cmd_packet.h"
#include "./common_packet/common_cmd_packet_util.h"
#include "./common_packet/common_cmd_packet.h"
#include "packet_list.h"
#include "../system/time_manager/obc_time.h"
#include "../library/result.h"
Expand Down
2 changes: 1 addition & 1 deletion tlm_cmd/command_dispatcher_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "command_dispatcher_manager.h"
#include <stddef.h>
#include <string.h>
#include "./common_cmd_packet_util.h"
#include "./common_packet/common_cmd_packet_util.h"

/**
* @brief cdis を cdis mgr に登録されているか探し,見つかった場合は idx を返す
Expand Down
2 changes: 1 addition & 1 deletion tlm_cmd/command_dispatcher_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef COMMAND_DISPATCHER_MANAGER_H_
#define COMMAND_DISPATCHER_MANAGER_H_

#include "./common_cmd_packet.h"
#include "./common_packet/common_cmd_packet.h"
#include "./command_dispatcher.h"
#include "../library/result.h"

Expand Down
2 changes: 1 addition & 1 deletion tlm_cmd/packet_handler.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#ifndef PACKET_HANDLER_H_
#define PACKET_HANDLER_H_

#include "common_tlm_cmd_packet.h"
#include "./common_packet/common_tlm_cmd_packet.h"
#include "packet_list.h"
#include "../applications/timeline_command_dispatcher_id_define.h"

Expand Down
2 changes: 1 addition & 1 deletion tlm_cmd/packet_list.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "packet_list.h"

#include "../system/time_manager/time_manager.h"
#include "common_tlm_cmd_packet.h"
#include "./common_packet/common_tlm_cmd_packet.h"
#include "./ccsds/space_packet_protocol/cmd_space_packet.h" // FIXME: CSP 依存をなくすべき
#include "block_command_executor.h"
#include "block_command_table.h"
Expand Down
2 changes: 1 addition & 1 deletion tlm_cmd/packet_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include <stddef.h>

#include "common_cmd_packet.h"
#include "./common_packet/common_cmd_packet.h"
#include "block_command_table.h"


Expand Down
2 changes: 1 addition & 1 deletion tlm_cmd/packet_list_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#define PACKET_LIST_UTIL_H_

#include "packet_list.h"
#include "common_tlm_cmd_packet.h"
#include "./common_packet/common_tlm_cmd_packet.h"

/**
* @brief static に確保された PL_Node 配列と CTCP 配列を受け取りその領域を使用して PL を初期化
Expand Down
2 changes: 1 addition & 1 deletion tlm_cmd/telemetry_frame.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <stdint.h>
#include "../library/print.h"
#include "../library/endian.h"
#include "./common_cmd_packet_util.h"
#include "./common_packet/common_cmd_packet_util.h"

static void initialize_tlm_table_(void);

Expand Down
2 changes: 1 addition & 1 deletion tlm_cmd/telemetry_frame.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#ifndef TELEMETRY_FRAME_H_
#define TELEMETRY_FRAME_H_

#include "./common_cmd_packet.h"
#include "./common_packet/common_cmd_packet.h"
#include <src_user/tlm_cmd/telemetry_definitions.h>

#define TF_TLM_PAGE_SIZE (64) //!< テレメテーブルの1テレメトリパケット(=1ページ)に格納されるテレメ数
Expand Down
4 changes: 2 additions & 2 deletions tlm_cmd/telemetry_generator.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#include "telemetry_frame.h"
#include "packet_handler.h"
#include "../system/time_manager/time_manager.h"
#include "common_cmd_packet.h"
#include "common_cmd_packet_util.h"
#include "./common_packet/common_cmd_packet.h"
#include "./common_packet/common_cmd_packet_util.h"
#include <src_user/tlm_cmd/telemetry_definitions.h>
#include <src_user/tlm_cmd/user_packet_handler.h>
#include <src_user/settings/tlm_cmd/common_tlm_packet_define.h>
Expand Down
2 changes: 1 addition & 1 deletion tlm_cmd/telemetry_generator.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef TELEMETRY_GENERATOR_H_
#define TELEMETRY_GENERATOR_H_

#include "common_cmd_packet.h"
#include "./common_packet/common_cmd_packet.h"

// deprecated
CCP_CmdRet Cmd_GENERATE_TLM(const CommonCmdPacket* packet);
Expand Down

0 comments on commit 608f0f5

Please sign in to comment.