1
0
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:
Hauke Petersen 2016-03-15 14:24:48 +01:00
parent 1a8a73af63
commit 236bd201ca

View File

@ -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)