Skip to content

Commit

Permalink
fix: Include internal module type in backup data for EM (#3603)
Browse files Browse the repository at this point in the history
... so radio re-connects to receiver if internal module is in use!
  • Loading branch information
philmoz authored and pfeerick committed Jul 4, 2023
1 parent 3a948cc commit 67e30e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radio/src/datastructs_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ PACK(struct RadioData {
uint8_t disableRtcWarning:1;
uint8_t keysBacklight:1;
NOBACKUP(uint8_t spare1:1 SKIP);
NOBACKUP(uint8_t internalModule ENUM(ModuleType));
uint8_t internalModule ENUM(ModuleType);
NOBACKUP(TrainerData trainer);
NOBACKUP(uint8_t view); // index of view in main screen
NOBACKUP(BUZZER_FIELD); /* 2bits */
Expand Down

0 comments on commit 67e30e3

Please sign in to comment.