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)
|
#define REPORT_NAME_ANALOG(NAME, COUNTER) _ADD_PIN(#NAME, COUNTER)
|
||||||
|
|
||||||
#include "../../pins/pinsDebug_list.h"
|
#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
|
// 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)
|
#if SERIAL_PORT == 0 && (AVR_ATmega2560_FAMILY || AVR_ATmega1284_FAMILY)
|
||||||
@ -109,7 +109,7 @@ const PinInfo pin_array[] PROGMEM = {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "../../pins/pinsDebug_list.h"
|
#include "../../pins/pinsDebug_list.h"
|
||||||
#line 102
|
#line 113
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -721,7 +721,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAL_SENSITIVE_PINS
|
#ifndef HAL_SENSITIVE_PINS
|
||||||
#define HAL_SENSITIVE_PINS
|
#define HAL_SENSITIVE_PINS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define SENSITIVE_PINS { \
|
#define SENSITIVE_PINS { \
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
#define REPORT_NAME_ANALOG(NAME, COUNTER) _ADD_PIN(#NAME, COUNTER)
|
#define REPORT_NAME_ANALOG(NAME, COUNTER) _ADD_PIN(#NAME, COUNTER)
|
||||||
|
|
||||||
#include "pinsDebug_list.h"
|
#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
|
// 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)
|
#if SERIAL_PORT == 0 && (AVR_ATmega2560_FAMILY || AVR_ATmega1284_FAMILY)
|
||||||
@ -95,7 +95,7 @@ const PinInfo pin_array[] PROGMEM = {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "pinsDebug_list.h"
|
#include "pinsDebug_list.h"
|
||||||
#line 101
|
#line 99
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
Serial.println("PINs causing interrups are:");
|
Serial.println("PINs causing interrupts are:");
|
||||||
for (int i = 2; i < NUM_DIGITAL_PINS; i++) {
|
for (int i = 2; i < NUM_DIGITAL_PINS; i++) {
|
||||||
if (digitalPinToPCICR(i) || (int)digitalPinToInterrupt(i) != -1) {
|
if (digitalPinToPCICR(i) || (int)digitalPinToInterrupt(i) != -1) {
|
||||||
for (int j = 0; j < NUM_ANALOG_INPUTS; j++) {
|
for (int j = 0; j < NUM_ANALOG_INPUTS; j++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user