Skip to content
Snippets Groups Projects
Commit d63437bc authored by dawehr's avatar dawehr
Browse files

Fixed sign error on uart_buff

parent 7f8a4b28
No related branches found
No related tags found
No related merge requests found
...@@ -351,7 +351,7 @@ size_t uart_buff_calc_index(int given_index) { ...@@ -351,7 +351,7 @@ size_t uart_buff_calc_index(int given_index) {
/** /**
* Return a pointer to the start of the packet. * Return a pointer to the start of the packet.
*/ */
char * uart_buff_get_raw(size_t *packet_size) { u8 * uart_buff_get_raw(size_t *packet_size) {
// Copy packet into temp buffer // Copy packet into temp buffer
*packet_size = uart_buff_packet_size(); *packet_size = uart_buff_packet_size();
int i; int i;
......
...@@ -21,7 +21,7 @@ size_t uart_buff_size(); ...@@ -21,7 +21,7 @@ size_t uart_buff_size();
size_t uart_buff_data_length(); size_t uart_buff_data_length();
int uart_buff_empty(); int uart_buff_empty();
int uart_buff_full(); int uart_buff_full();
char * uart_buff_get_raw(size_t *); u8 * uart_buff_get_raw(size_t *);
void uart_buff_print(); void uart_buff_print();
u32 uart_buff_packets_processed(); u32 uart_buff_packets_processed();
void uart_buff_reset(); void uart_buff_reset();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment