Make communication timeout configurable

This commit is contained in:
wh201906 committed 2023-07-05 22:44:59 +08:00
1 parent 9c947eddcd
commit b74c5db4f9
4 files changed
+57 -2

No files matched your search

+6 -2
View File
@@ -74,8 +74,12 @@ bool uart_set_speed(serial_port sp, const uint32_t uiPortSpeed);
*/
uint32_t uart_get_speed(const serial_port sp);
/* Reconfigure timeouts
/* Reconfigure timeouts (ms)
*/
int uart_reconfigure_timeouts(uint32_t value);
#endif // _UART_H_
/* Get timeouts (ms)
*/
uint32_t uart_get_timeouts(void);
#endif // _UART_H_