Fix: ANALOG_OK always fails (#18334)
This commit is contained in:
parent
f13ca24ade
commit
fa3cfa19be
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
||||||
// Analog Pin Assignments
|
// 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)
|
#if defined(EXT_AUX_A0) && ANALOG_OK(EXT_AUX_A0)
|
||||||
REPORT_NAME_ANALOG(__LINE__, EXT_AUX_A0)
|
REPORT_NAME_ANALOG(__LINE__, EXT_AUX_A0)
|
||||||
|
|
Reference in a new issue