Skip to content

Commit

Permalink
Merge pull request #8325 from JulioCesarMatias/fixVarToBool
Browse files Browse the repository at this point in the history
Fix uint8_t to bool
  • Loading branch information
DzikuVx committed Aug 22, 2022
2 parents 52a0084 + d99a449 commit f73f8ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/fc/rc_controls.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ typedef struct rcControlsConfig_s {
PG_DECLARE(rcControlsConfig_t, rcControlsConfig);

typedef struct armingConfig_s {
uint8_t fixed_wing_auto_arm; // Auto-arm fixed wing aircraft on throttle up and never disarm
uint8_t disarm_kill_switch; // allow disarm via AUX switch regardless of throttle value
bool fixed_wing_auto_arm; // Auto-arm fixed wing aircraft on throttle up and never disarm
bool disarm_kill_switch; // allow disarm via AUX switch regardless of throttle value
uint16_t switchDisarmDelayMs; // additional delay between ARM box going off and actual disarm
uint16_t prearmTimeoutMs; // duration for which Prearm being activated is valid. after this, Prearm needs to be reset. 0 means Prearm does not timeout.
} armingConfig_t;
Expand Down

0 comments on commit f73f8ad

Please sign in to comment.