mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 05:48:43 +00:00
Cosmetic tweaks
This commit is contained in:
parent
f409147116
commit
ba8bc7ea80
@ -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
|
||||
|
||||
};
|
||||
|
||||
|
@ -721,7 +721,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef HAL_SENSITIVE_PINS
|
||||
#define HAL_SENSITIVE_PINS
|
||||
#define HAL_SENSITIVE_PINS
|
||||
#endif
|
||||
|
||||
#define SENSITIVE_PINS { \
|
||||
|
@ -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
|
||||
|
||||
};
|
||||
|
||||
|
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user