Fix some AVR HAL code style
This commit is contained in:
@@ -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_
|
||||
|
||||
Reference in New Issue
Block a user