Fix RSSI in on FMUv4 (pixracer)

This commit is contained in:
Vasily Evseenko 2019-03-10 18:16:01 +03:00 committed by David Sidrane
parent 2773fe6a54
commit f8c50f442f
2 changed files with 4 additions and 1 deletions

View File

@ -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;

View File

@ -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);