From cd3f007af441cc949c2e09275106dbbdb4596084 Mon Sep 17 00:00:00 2001 From: 3djc Date: Tue, 19 Mar 2019 16:35:04 +0100 Subject: [PATCH] Compile fixes --- radio/src/datastructs.h | 6 +++--- radio/src/targets/horus/board.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/radio/src/datastructs.h b/radio/src/datastructs.h index b482ecd44..f2c588182 100644 --- a/radio/src/datastructs.h +++ b/radio/src/datastructs.h @@ -916,7 +916,7 @@ static inline void check_struct() CHKSIZE(LogicalSwitchData, 9); CHKSIZE(TelemetrySensor, 13); - CHKSIZE(ModuleData, 6); + CHKSIZE(ModuleData, 12); CHKSIZE(GVarData, 7); @@ -942,8 +942,8 @@ static inline void check_struct() CHKSIZE(RadioData, 727); CHKSIZE(ModelData, 5188); #elif defined(PCBHORUS) - CHKSIZE(RadioData, 847); - CHKSIZE(ModelData, 9380); + CHKSIZE(RadioData, 855); + CHKSIZE(ModelData, 9777); #endif #undef CHKSIZE diff --git a/radio/src/targets/horus/board.h b/radio/src/targets/horus/board.h index d17e716fe..8fbe1be35 100644 --- a/radio/src/targets/horus/board.h +++ b/radio/src/targets/horus/board.h @@ -21,7 +21,7 @@ #ifndef _BOARD_HORUS_H_ #define _BOARD_HORUS_H_ -#include "definitions.h" +#include "../definitions.h" #include "cpu_id.h" #if defined(__cplusplus) && !defined(SIMU)