Browse Source

Fix: ANALOG_OK always fails (#18334)

ellensp 4 years ago
parent
commit
fa3cfa19be
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/pins/pinsDebug_list.h

+ 1
- 1
Marlin/src/pins/pinsDebug_list.h View File

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

Loading…
Cancel
Save