AP_HAL_Empty: update uart_info function for new signature

This commit is contained in:
Iampete1 2024-03-15 14:21:42 +00:00 committed by Peter Hall
parent edc12c2857
commit 29559b6710
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ ssize_t Empty::UARTDriver::_read(uint8_t *buffer, uint16_t size)
}
#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");
}

View File

@ -15,7 +15,7 @@ public:
#if HAL_UART_STATS_ENABLED
// 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
protected: