From ba8bc7ea80a6d90b195bba8033ca23e80edfc69b Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 19 Nov 2017 23:00:43 -0600 Subject: [PATCH] Cosmetic tweaks --- Marlin/src/HAL/HAL_AVR/HAL_pinsDebug_AVR.h | 4 ++-- Marlin/src/pins/pins.h | 2 +- Marlin/src/pins/pinsDebug.h | 4 ++-- buildroot/share/pin_interrupt_test/pin_interrupt_test.ino | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Marlin/src/HAL/HAL_AVR/HAL_pinsDebug_AVR.h b/Marlin/src/HAL/HAL_AVR/HAL_pinsDebug_AVR.h index 87b969300..b9e5abc4b 100644 --- a/Marlin/src/HAL/HAL_AVR/HAL_pinsDebug_AVR.h +++ b/Marlin/src/HAL/HAL_AVR/HAL_pinsDebug_AVR.h @@ -58,7 +58,7 @@ void HAL_analog_pin_state(char buffer[], int8_t pin) { #define REPORT_NAME_ANALOG(NAME, COUNTER) _ADD_PIN(#NAME, COUNTER) #include "../../pins/pinsDebug_list.h" -#line 51 +#line 62 // manually add pins that have names that are macros which don't play well with these macros #if SERIAL_PORT == 0 && (AVR_ATmega2560_FAMILY || AVR_ATmega1284_FAMILY) @@ -109,7 +109,7 @@ const PinInfo pin_array[] PROGMEM = { #endif #include "../../pins/pinsDebug_list.h" - #line 102 + #line 113 }; diff --git a/Marlin/src/pins/pins.h b/Marlin/src/pins/pins.h index a6cf7e39a..1c74dd75e 100644 --- a/Marlin/src/pins/pins.h +++ b/Marlin/src/pins/pins.h @@ -721,7 +721,7 @@ #endif #ifndef HAL_SENSITIVE_PINS -#define HAL_SENSITIVE_PINS + #define HAL_SENSITIVE_PINS #endif #define SENSITIVE_PINS { \ diff --git a/Marlin/src/pins/pinsDebug.h b/Marlin/src/pins/pinsDebug.h index 7958f981a..4d7e903ff 100644 --- a/Marlin/src/pins/pinsDebug.h +++ b/Marlin/src/pins/pinsDebug.h @@ -43,7 +43,7 @@ #define REPORT_NAME_ANALOG(NAME, COUNTER) _ADD_PIN(#NAME, COUNTER) #include "pinsDebug_list.h" -#line 49 +#line 47 // manually add pins that have names that are macros which don't play well with these macros #if SERIAL_PORT == 0 && (AVR_ATmega2560_FAMILY || AVR_ATmega1284_FAMILY) @@ -95,7 +95,7 @@ const PinInfo pin_array[] PROGMEM = { #endif #include "pinsDebug_list.h" - #line 101 + #line 99 }; diff --git a/buildroot/share/pin_interrupt_test/pin_interrupt_test.ino b/buildroot/share/pin_interrupt_test/pin_interrupt_test.ino index 9702d9d91..dc2ce41ce 100644 --- a/buildroot/share/pin_interrupt_test/pin_interrupt_test.ino +++ b/buildroot/share/pin_interrupt_test/pin_interrupt_test.ino @@ -10,7 +10,7 @@ void setup() { Serial.begin(9600); - Serial.println("PINs causing interrups are:"); + Serial.println("PINs causing interrupts are:"); for (int i = 2; i < NUM_DIGITAL_PINS; i++) { if (digitalPinToPCICR(i) || (int)digitalPinToInterrupt(i) != -1) { for (int j = 0; j < NUM_ANALOG_INPUTS; j++) {