cpu/atmega_common: add empty uart/power_x functions
This commit is contained in:
parent
a38a9f7a6f
commit
ce9e6f4eb0
@ -152,6 +152,18 @@ void uart_write(uart_t uart, const uint8_t *data, size_t len)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void uart_poweron(uart_t uart)
|
||||||
|
{
|
||||||
|
(void)uart;
|
||||||
|
/* not implemented (yet) */
|
||||||
|
}
|
||||||
|
|
||||||
|
void uart_poweroff(uart_t uart)
|
||||||
|
{
|
||||||
|
(void)uart;
|
||||||
|
/* not implemented (yet) */
|
||||||
|
}
|
||||||
|
|
||||||
static inline void isr_handler(int num)
|
static inline void isr_handler(int num)
|
||||||
{
|
{
|
||||||
isr_ctx[num].rx_cb(isr_ctx[num].arg, dev[num]->DR);
|
isr_ctx[num].rx_cb(isr_ctx[num].arg, dev[num]->DR);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user