|
|
|
@ -1,6 +1,6 @@
@@ -1,6 +1,6 @@
|
|
|
|
|
/****************************************************************************
|
|
|
|
|
* |
|
|
|
|
* Copyright (c) 2012-2020 PX4 Development Team. All rights reserved. |
|
|
|
|
* Copyright (c) 2012-2021 PX4 Development Team. All rights reserved. |
|
|
|
|
* |
|
|
|
|
* Redistribution and use in source and binary forms, with or without |
|
|
|
|
* modification, are permitted provided that the following conditions |
|
|
|
@ -778,11 +778,11 @@ int RCInput::custom_command(int argc, char *argv[])
@@ -778,11 +778,11 @@ int RCInput::custom_command(int argc, char *argv[])
|
|
|
|
|
|
|
|
|
|
int RCInput::print_status() |
|
|
|
|
{ |
|
|
|
|
PX4_INFO("Max update rate: %i Hz", 1000000 / _current_update_interval); |
|
|
|
|
PX4_INFO("Max update rate: %u Hz", 1000000 / _current_update_interval); |
|
|
|
|
|
|
|
|
|
if (_device[0] != '\0') { |
|
|
|
|
PX4_INFO("UART device: %s", _device); |
|
|
|
|
PX4_INFO("UART RX bytes: %u", _bytes_rx); |
|
|
|
|
PX4_INFO("UART RX bytes: %" PRIu32, _bytes_rx); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
PX4_INFO("RC state: %s: %s", _rc_scan_locked ? "found" : "searching for signal", RC_SCAN_STRING[_rc_scan_state]); |
|
|
|
|