Fix some AVR HAL code style

This commit is contained in:
Scott Lahteine
2017-10-14 19:05:10 -05:00
parent 799360c576
commit fd128b3c93
17 changed files with 60 additions and 53 deletions

View File

@@ -20,7 +20,8 @@
*
*/
#ifndef HAL_PINSDEBUG_AVR_H
#ifndef _HAL_PINSDEBUG_AVR_H_
#define _HAL_PINSDEBUG_AVR_H_
void HAL_print_analog_pin(char buffer[], int8_t pin) {
sprintf(buffer, "(A%2d) ", int(pin - analogInputToDigitalPin(0)));
@@ -590,4 +591,4 @@ inline void report_pin_state_extended(int8_t pin, bool ignore, bool extended = f
}
}
#endif //HAL_PINSDEBUG_AVR_H
#endif // _HAL_PINSDEBUG_AVR_H_