diff --git a/quad/sw/modular_quad_pid/src/uart_buff.c b/quad/sw/modular_quad_pid/src/uart_buff.c index 56f5c1d90274bc80e0150fccc2603631b042aedd..2ee7edbb8ce436f205b797e785fc78962f4925d3 100644 --- a/quad/sw/modular_quad_pid/src/uart_buff.c +++ b/quad/sw/modular_quad_pid/src/uart_buff.c @@ -351,7 +351,7 @@ size_t uart_buff_calc_index(int given_index) { /** * 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 *packet_size = uart_buff_packet_size(); int i; diff --git a/quad/sw/modular_quad_pid/src/uart_buff.h b/quad/sw/modular_quad_pid/src/uart_buff.h index 99aadd06e17f632e1e4132d14bfefe4218b5b4f5..4d6ddbe8ab88847294319bbb21c4e24c387411df 100644 --- a/quad/sw/modular_quad_pid/src/uart_buff.h +++ b/quad/sw/modular_quad_pid/src/uart_buff.h @@ -21,7 +21,7 @@ size_t uart_buff_size(); size_t uart_buff_data_length(); int uart_buff_empty(); int uart_buff_full(); -char * uart_buff_get_raw(size_t *); +u8 * uart_buff_get_raw(size_t *); void uart_buff_print(); u32 uart_buff_packets_processed(); void uart_buff_reset();