# HG changeset patch # User matthewreed # Date 2017-03-30 13:39:18 # Node ID a6d6bff160f86a9e8c74871f95609a7617bc367e # Parent f4e15fde37994ff7ef6fd68e21e93085925c0063 Minor changes diff --git a/inc/can.h b/inc/can.h --- a/inc/can.h +++ b/inc/can.h @@ -1,5 +1,5 @@ -#ifndef __CAN_H -#define __CAN_H +#ifndef _CAN_H_ +#define _CAN_H_ #include #include @@ -18,4 +18,4 @@ void can_set_receive_mask(uint32_t mask) void can_set_receive_id(uint32_t id); bool can_silence_bus(bool value); -#endif //__CAN_H +#endif //_CAN_H_ diff --git a/inc/led.h b/inc/led.h --- a/inc/led.h +++ b/inc/led.h @@ -1,12 +1,5 @@ -/* - * led.h - * - * Created on: Mar 30, 2017 - * Author: Matthew Reed - */ - -#ifndef INC_LED_H_ -#define INC_LED_H_ +#ifndef _LED_H_ +#define _LED_H_ #include "stm32f0xx_hal.h" #include @@ -29,4 +22,4 @@ void led_toggle(led_name_t led); __weak bool gpio_set_led(led_name_t led, bool value); __weak bool gpio_toggle_led(led_name_t led); -#endif /* INC_LED_H_ */ +#endif /* _LED_H_ */ diff --git a/inc/protocol.h b/inc/protocol.h --- a/inc/protocol.h +++ b/inc/protocol.h @@ -1,5 +1,5 @@ -#ifndef _PROTOCOL_H -#define _PROTOCOL_H +#ifndef _PROTOCOL_H_ +#define _PROTOCOL_H_ #include @@ -58,4 +58,4 @@ bool protocol_process_message(protocol_m __weak bool protocol_get_data(protocol_message_t* message); __weak bool protocol_config(protocol_message_t* message); -#endif //_PROTOCOL_H +#endif //_PROTOCOL_H_ diff --git a/src/led.c b/src/led.c --- a/src/led.c +++ b/src/led.c @@ -1,10 +1,3 @@ -/* - * led.c - * - * Created on: Mar 30, 2017 - * Author: Matthew Reed - */ - #include "led.h" #define LED_CYCLE_STATUS 2000