mirror of
https://github.com/gosticks/RIOT.git
synced 2025-10-16 12:05:37 +00:00
sys/arduino: Make SerialPort constructor explicit
This commit is contained in:
parent
ba31acae58
commit
575b8ea340
@ -55,7 +55,7 @@ public:
|
||||
*
|
||||
* @param[in] dev RIOT UART device
|
||||
*/
|
||||
SerialPort(uart_t dev);
|
||||
explicit SerialPort(uart_t dev);
|
||||
|
||||
/**
|
||||
* @brief Get the number of bytes (characters) available for reading from
|
||||
|
||||
Loading…
Reference in New Issue
Block a user