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
 #define REPORT_NAME_ANALOG(NAME, COUNTER) _ADD_PIN(#NAME, COUNTER)
58
 #define REPORT_NAME_ANALOG(NAME, COUNTER) _ADD_PIN(#NAME, COUNTER)
59
 
59
 
60
 #include "../../pins/pinsDebug_list.h"
60
 #include "../../pins/pinsDebug_list.h"
61
-#line 51
61
+#line 62
62
 
62
 
63
 // manually add pins that have names that are macros which don't play well with these macros
63
 // manually add pins that have names that are macros which don't play well with these macros
64
 #if SERIAL_PORT == 0 && (AVR_ATmega2560_FAMILY || AVR_ATmega1284_FAMILY)
64
 #if SERIAL_PORT == 0 && (AVR_ATmega2560_FAMILY || AVR_ATmega1284_FAMILY)
109
   #endif
109
   #endif
110
 
110
 
111
   #include "../../pins/pinsDebug_list.h"
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
 #endif
721
 #endif
722
 
722
 
723
 #ifndef HAL_SENSITIVE_PINS
723
 #ifndef HAL_SENSITIVE_PINS
724
-#define HAL_SENSITIVE_PINS
724
+  #define HAL_SENSITIVE_PINS
725
 #endif
725
 #endif
726
 
726
 
727
 #define SENSITIVE_PINS { \
727
 #define SENSITIVE_PINS { \

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

43
 #define REPORT_NAME_ANALOG(NAME, COUNTER) _ADD_PIN(#NAME, COUNTER)
43
 #define REPORT_NAME_ANALOG(NAME, COUNTER) _ADD_PIN(#NAME, COUNTER)
44
 
44
 
45
 #include "pinsDebug_list.h"
45
 #include "pinsDebug_list.h"
46
-#line 49
46
+#line 47
47
 
47
 
48
 // manually add pins that have names that are macros which don't play well with these macros
48
 // manually add pins that have names that are macros which don't play well with these macros
49
 #if SERIAL_PORT == 0 && (AVR_ATmega2560_FAMILY || AVR_ATmega1284_FAMILY)
49
 #if SERIAL_PORT == 0 && (AVR_ATmega2560_FAMILY || AVR_ATmega1284_FAMILY)
95
   #endif
95
   #endif
96
 
96
 
97
   #include "pinsDebug_list.h"
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
 
10
 
11
 void setup() {
11
 void setup() {
12
   Serial.begin(9600);
12
   Serial.begin(9600);
13
-  Serial.println("PINs causing interrups are:");
13
+  Serial.println("PINs causing interrupts are:");
14
   for (int i = 2; i < NUM_DIGITAL_PINS; i++) {
14
   for (int i = 2; i < NUM_DIGITAL_PINS; i++) {
15
     if (digitalPinToPCICR(i) || (int)digitalPinToInterrupt(i) != -1) {
15
     if (digitalPinToPCICR(i) || (int)digitalPinToInterrupt(i) != -1) {
16
       for (int j = 0; j < NUM_ANALOG_INPUTS; j++) {
16
       for (int j = 0; j < NUM_ANALOG_INPUTS; j++) {

Loading…
Cancel
Save