diff options
Diffstat (limited to 'globals.h')
-rw-r--r-- | globals.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -17,15 +17,17 @@ typedef struct { // this will be enlarged later } ChannelStruct; +#pragma pack(push) /* push current alignment to stack */ +#pragma pack(1) typedef struct { char flash_start; - char* aux_error_message; - int channels; + short channels; + char aux_error_message[32]; char enable_avrq_extra_ampls; char ChanKey_frequency; char flash_end; } FlashStruct; - +#pragma pack(pop) typedef struct { ChannelStruct ChannelState[max_channels]; |