FMU: Initialize raw RC count

This commit is contained in:
Lorenz Meier
2017-01-30 08:27:49 +01:00
parent e7a0089340
commit 2c24900b9d
+2
View File
@@ -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);