mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/arduino: adapted to changed UART cb type
This commit is contained in:
parent
1a8a73af63
commit
236bd201ca
@ -27,10 +27,10 @@ extern "C" {
|
||||
|
||||
#include "serialport.hpp"
|
||||
|
||||
void rx_cb(void *arg, char c)
|
||||
void rx_cb(void *arg, uint8_t c)
|
||||
{
|
||||
ringbuffer_t *buf = (ringbuffer_t *)arg;
|
||||
ringbuffer_add_one(buf, c);
|
||||
ringbuffer_add_one(buf, (char)c);
|
||||
}
|
||||
|
||||
SerialPort::SerialPort(uart_t dev)
|
||||
|
Loading…
Reference in New Issue
Block a user