From 2388aa93028702638ab7971412af9c004d16e073 Mon Sep 17 00:00:00 2001 From: George Oikonomou Date: Sun, 29 Oct 2017 01:27:56 +0000 Subject: [PATCH] Improve code style --- examples/slip-radio/slip-radio.c | 4 ++-- examples/slip-radio/slip-radio.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/slip-radio/slip-radio.c b/examples/slip-radio/slip-radio.c index c81ea55f1..b174bec06 100644 --- a/examples/slip-radio/slip-radio.c +++ b/examples/slip-radio/slip-radio.c @@ -54,7 +54,7 @@ extern const struct slip_radio_sensors SLIP_RADIO_CONF_SENSORS; void slip_send_packet(const uint8_t *ptr, int len); - /* max 16 packets at the same time??? */ +/* max 16 packets at the same time??? */ uint8_t packet_ids[16]; int packet_pos; @@ -161,7 +161,7 @@ slip_radio_cmd_handler(const uint8_t *data, int len) packet_pos++; if(packet_pos >= sizeof(packet_ids)) { - packet_pos = 0; + packet_pos = 0; } return 1; diff --git a/examples/slip-radio/slip-radio.h b/examples/slip-radio/slip-radio.h index a80e81c4f..18f55a077 100644 --- a/examples/slip-radio/slip-radio.h +++ b/examples/slip-radio/slip-radio.h @@ -33,9 +33,9 @@ struct slip_radio_sensors { /** Initialize the driver */ - void (* init)(void); + void (*init)(void); /** Send the sensor data packet via the command send */ - void (* send)(void); + void (*send)(void); }; #endif /* SLIP_RADIO_H_ */