Improve code style

This commit is contained in:
George Oikonomou 2017-10-29 01:27:56 +00:00
parent ab894dcde1
commit 2388aa9302
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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_ */