Browse Source

sys/arduino: Make SerialPort constructor explicit

pr/rotary
Joakim Nohlgård 5 years ago
parent
commit
575b8ea340
  1. 2
      sys/arduino/include/serialport.hpp

2
sys/arduino/include/serialport.hpp

@ -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…
Cancel
Save