|
@@ -20,20 +20,6 @@
|
20
|
20
|
*
|
21
|
21
|
*/
|
22
|
22
|
|
23
|
|
-// How many DIO pins are defined?
|
24
|
|
-#ifdef DIO85_PIN
|
25
|
|
-// #define DIO_COUNT 86
|
26
|
|
- #define DIO_COUNT 70 // digitalRead and other Arduino IDE routines only know about pins 0 through 69
|
27
|
|
-#elif defined(DIO53_PIN)
|
28
|
|
- #define DIO_COUNT 54
|
29
|
|
-#elif defined(DIO47_PIN)
|
30
|
|
- #define DIO_COUNT 48
|
31
|
|
-#elif defined(DIO31_PIN)
|
32
|
|
- #define DIO_COUNT 32
|
33
|
|
-#elif defined(DIO21_PIN)
|
34
|
|
- #define DIO_COUNT 22
|
35
|
|
-#endif
|
36
|
|
-
|
37
|
23
|
bool endstop_monitor_flag = false;
|
38
|
24
|
|
39
|
25
|
#define NAME_FORMAT "%-28s" // one place to specify the format of all the sources of names
|
|
@@ -157,9 +143,6 @@ static bool report_pin_name(int8_t pin, bool &pin_is_analog) {
|
157
|
143
|
#if PIN_EXISTS(DIGIPOTSS)
|
158
|
144
|
PIN_SAY(DIGIPOTSS_PIN);
|
159
|
145
|
#endif
|
160
|
|
- #if defined(DIO_COUNT) && DIO_COUNT >= 0
|
161
|
|
- PIN_SAY(DIO_COUNT);
|
162
|
|
- #endif
|
163
|
146
|
#if defined(DOGLCD_A0) && DOGLCD_A0 >= 0
|
164
|
147
|
PIN_SAY(DOGLCD_A0);
|
165
|
148
|
#endif
|