forked from Archive/PX4-Autopilot
Fix RSSI in on FMUv4 (pixracer)
This commit is contained in:
parent
2773fe6a54
commit
f8c50f442f
|
@ -206,7 +206,6 @@ stm32_boardinitialize(void)
|
|||
|
||||
// Safety - led on in led driver.
|
||||
stm32_configgpio(GPIO_BTN_SAFETY);
|
||||
stm32_configgpio(GPIO_RSSI_IN);
|
||||
stm32_configgpio(GPIO_PPM_IN);
|
||||
|
||||
int spi_init_mask = SPI_BUS_INIT_MASK;
|
||||
|
|
|
@ -795,6 +795,10 @@ int RCInput::print_status()
|
|||
PX4_INFO("CRSF Telemetry: %s", _crsf_telemetry ? "yes" : "no");
|
||||
PX4_INFO("SBUS frame drops: %u", sbus_dropped_frames());
|
||||
|
||||
#if ADC_RC_RSSI_CHANNEL
|
||||
PX4_INFO("vrssi: %dmV", (int)(_analog_rc_rssi_volt * 1000.0f));
|
||||
#endif
|
||||
|
||||
perf_print_counter(_cycle_perf);
|
||||
perf_print_counter(_publish_interval_perf);
|
||||
|
||||
|
|
Loading…
Reference in New Issue