Browse Source

Fix: ANALOG_OK always fails (#18334)

vanilla_fb_2.0.x
ellensp 5 years ago
committed by GitHub
parent
commit
fa3cfa19be
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Marlin/src/pins/pinsDebug_list.h

2
Marlin/src/pins/pinsDebug_list.h

@ -30,7 +30,7 @@
// Analog Pin Assignments
//
#define ANALOG_OK(PN) ((PN) >= 0 && (PN) < NUM_ANALOG_PINS)
#define ANALOG_OK(PN) ((PN) >= 0 && (PN) < NUM_ANALOG_INPUTS)
#if defined(EXT_AUX_A0) && ANALOG_OK(EXT_AUX_A0)
REPORT_NAME_ANALOG(__LINE__, EXT_AUX_A0)

Loading…
Cancel
Save