mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +03:00
Fix rc_controls_unittest to use midrc.
This commit is contained in:
parent
b0b83b31db
commit
02c93f1c1a
1 changed files with 2 additions and 0 deletions
|
@ -203,6 +203,7 @@ TEST(RcControlsTest, processRcAdjustmentsSticksInMiddle)
|
|||
memset(&rxConfig, 0, sizeof (rxConfig));
|
||||
rxConfig.mincheck = DEFAULT_MIN_CHECK;
|
||||
rxConfig.maxcheck = DEFAULT_MAX_CHECK;
|
||||
rxConfig.midrc = 1500;
|
||||
|
||||
// and
|
||||
uint8_t index;
|
||||
|
@ -238,6 +239,7 @@ TEST(RcControlsTest, processRcAdjustmentsWithRcRateFunctionSwitchUp)
|
|||
memset(&rxConfig, 0, sizeof (rxConfig));
|
||||
rxConfig.mincheck = DEFAULT_MIN_CHECK;
|
||||
rxConfig.maxcheck = DEFAULT_MAX_CHECK;
|
||||
rxConfig.midrc = 1500;
|
||||
|
||||
// and
|
||||
uint8_t index;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue