drivers: ethos: fix compile errors
This commit is contained in:
parent
506e23f481
commit
036e7f248d
@ -86,7 +86,7 @@ typedef struct {
|
||||
typedef struct {
|
||||
uart_t uart; /**< UART device to use */
|
||||
uint32_t baudrate; /**< baudrate to UART device */
|
||||
uint8_t buf; /**< buffer for incoming packets */
|
||||
uint8_t *buf; /**< buffer for incoming packets */
|
||||
size_t bufsize; /**< size of ethos_params_t::buf */
|
||||
} ethos_params_t;
|
||||
|
||||
|
||||
@ -54,8 +54,8 @@ void auto_init_ethos(void)
|
||||
ethos_params_t p;
|
||||
p.uart = ETHOS_UART;
|
||||
p.baudrate = ETHOS_BAUDRATE;
|
||||
p.buffer = _inbuf;
|
||||
b.bufsize = sizeof(_inbuf);
|
||||
p.buf = _inbuf;
|
||||
p.bufsize = sizeof(_inbuf);
|
||||
ethos_setup(ðos, &p);
|
||||
|
||||
/* initialize netdev2<->gnrc adapter state */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user