diff options
author | Drashna Jaelre <drashna@live.com> | 2021-11-15 01:15:45 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-15 20:15:45 +1100 |
commit | ca4b54bb30967a17f830301bffc0253f061f4275 (patch) | |
tree | 22cc9b59f8d1349f33c13e2617cd4a678cf314f7 /platforms/avr | |
parent | 56e3f06a26851976e559aacf7a096c61403304be (diff) |
Fix uart function prototypes (#15162)
Diffstat (limited to 'platforms/avr')
-rw-r--r-- | platforms/avr/drivers/uart.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platforms/avr/drivers/uart.h b/platforms/avr/drivers/uart.h index 9cb7652b08..e2dc664eda 100644 --- a/platforms/avr/drivers/uart.h +++ b/platforms/avr/drivers/uart.h @@ -32,8 +32,8 @@ void uart_write(uint8_t data); uint8_t uart_read(void); -void uart_transmit(const char *data, uint16_t length); +void uart_transmit(const uint8_t *data, uint16_t length); -void uart_receive(char *data, uint16_t length); +void uart_receive(uint8_t *data, uint16_t length); bool uart_available(void); |