Skip to content

Commit

Permalink
sys/arduino: adapted to changed UART cb type
Browse files Browse the repository at this point in the history
  • Loading branch information
haukepetersen committed Mar 15, 2016
1 parent 1a8a73a commit 236bd20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sys/arduino/serialport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 236bd20

Please sign in to comment.