jpan127 / APDS

Autonomous Postal Delivery System
0 stars 0 forks source link

[Firmware] Clean up function prototypes and const the proper parameters #2

Closed jpan127 closed 6 years ago

jpan127 commented 6 years ago

Some functions could be passing in const variables and a dereferenced pointer instead of the pointer itself. Example: bool tcp_client_send_packet(int *tcp_socket, uint8_t *packet, uint8_t size)