Browse Source

Cosmetic tweaks

pull/1/head
Scott Lahteine 7 years ago
parent
commit
ba8bc7ea80
  1. 4
      Marlin/src/HAL/HAL_AVR/HAL_pinsDebug_AVR.h
  2. 2
      Marlin/src/pins/pins.h
  3. 4
      Marlin/src/pins/pinsDebug.h
  4. 2
      buildroot/share/pin_interrupt_test/pin_interrupt_test.ino

4
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
};

2
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 { \

4
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
};

2
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++) {

Loading…
Cancel
Save