Browse Source

Cosmetic tweaks

Scott Lahteine 6 years ago
parent
commit
ba8bc7ea80

+ 2
- 2
Marlin/src/HAL/HAL_AVR/HAL_pinsDebug_AVR.h View File

@@ -58,7 +58,7 @@ void HAL_analog_pin_state(char buffer[], int8_t pin) {
58 58
 #define REPORT_NAME_ANALOG(NAME, COUNTER) _ADD_PIN(#NAME, COUNTER)
59 59
 
60 60
 #include "../../pins/pinsDebug_list.h"
61
-#line 51
61
+#line 62
62 62
 
63 63
 // manually add pins that have names that are macros which don't play well with these macros
64 64
 #if SERIAL_PORT == 0 && (AVR_ATmega2560_FAMILY || AVR_ATmega1284_FAMILY)
@@ -109,7 +109,7 @@ const PinInfo pin_array[] PROGMEM = {
109 109
   #endif
110 110
 
111 111
   #include "../../pins/pinsDebug_list.h"
112
-  #line 102
112
+  #line 113
113 113
 
114 114
 };
115 115
 

+ 1
- 1
Marlin/src/pins/pins.h View File

@@ -721,7 +721,7 @@
721 721
 #endif
722 722
 
723 723
 #ifndef HAL_SENSITIVE_PINS
724
-#define HAL_SENSITIVE_PINS
724
+  #define HAL_SENSITIVE_PINS
725 725
 #endif
726 726
 
727 727
 #define SENSITIVE_PINS { \

+ 2
- 2
Marlin/src/pins/pinsDebug.h View File

@@ -43,7 +43,7 @@
43 43
 #define REPORT_NAME_ANALOG(NAME, COUNTER) _ADD_PIN(#NAME, COUNTER)
44 44
 
45 45
 #include "pinsDebug_list.h"
46
-#line 49
46
+#line 47
47 47
 
48 48
 // manually add pins that have names that are macros which don't play well with these macros
49 49
 #if SERIAL_PORT == 0 && (AVR_ATmega2560_FAMILY || AVR_ATmega1284_FAMILY)
@@ -95,7 +95,7 @@ const PinInfo pin_array[] PROGMEM = {
95 95
   #endif
96 96
 
97 97
   #include "pinsDebug_list.h"
98
-  #line 101
98
+  #line 99
99 99
 
100 100
 };
101 101
 

+ 1
- 1
buildroot/share/pin_interrupt_test/pin_interrupt_test.ino View File

@@ -10,7 +10,7 @@
10 10
 
11 11
 void setup() {
12 12
   Serial.begin(9600);
13
-  Serial.println("PINs causing interrups are:");
13
+  Serial.println("PINs causing interrupts are:");
14 14
   for (int i = 2; i < NUM_DIGITAL_PINS; i++) {
15 15
     if (digitalPinToPCICR(i) || (int)digitalPinToInterrupt(i) != -1) {
16 16
       for (int j = 0; j < NUM_ANALOG_INPUTS; j++) {

Loading…
Cancel
Save