mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 23:48:31 -04:00
AP_HAL_Empty: update uart_info function for new signature
This commit is contained in:
parent
edc12c2857
commit
29559b6710
@ -24,7 +24,7 @@ ssize_t Empty::UARTDriver::_read(uint8_t *buffer, uint16_t size)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if HAL_UART_STATS_ENABLED
|
#if HAL_UART_STATS_ENABLED
|
||||||
void Empty::UARTDriver::uart_info(ExpandingString &str)
|
void Empty::UARTDriver::uart_info(ExpandingString &str, StatsTracker &stats, const uint32_t dt_ms)
|
||||||
{
|
{
|
||||||
str.printf("EMPTY\n");
|
str.printf("EMPTY\n");
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@ public:
|
|||||||
|
|
||||||
#if HAL_UART_STATS_ENABLED
|
#if HAL_UART_STATS_ENABLED
|
||||||
// request information on uart I/O for one uart
|
// request information on uart I/O for one uart
|
||||||
void uart_info(ExpandingString &str) override;
|
void uart_info(ExpandingString &str, StatsTracker &stats, const uint32_t dt_ms) override;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
Loading…
Reference in New Issue
Block a user