mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 05:53:34 +08:00
FMU: Initialize raw RC count
This commit is contained in:
@@ -390,6 +390,8 @@ PX4FMU::PX4FMU() :
|
||||
raw_rc_values[i] = UINT16_MAX;
|
||||
}
|
||||
|
||||
raw_rc_count = 0;
|
||||
|
||||
#ifdef GPIO_SBUS_INV
|
||||
// this board has a GPIO to control SBUS inversion
|
||||
px4_arch_configgpio(GPIO_SBUS_INV);
|
||||
|
||||
Reference in New Issue
Block a user