Browse Source

Fix LCD_PINS_Dn tests in pinsDebug_list.h

Scott Lahteine 7 years ago
parent
commit
a1e2b5da70
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      Marlin/src/pins/pinsDebug_list.h

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

419
 #if PIN_EXISTS(LCD_BACKLIGHT)
419
 #if PIN_EXISTS(LCD_BACKLIGHT)
420
   REPORT_NAME_DIGITAL(LCD_BACKLIGHT_PIN, __LINE__ )
420
   REPORT_NAME_DIGITAL(LCD_BACKLIGHT_PIN, __LINE__ )
421
 #endif
421
 #endif
422
-#if PIN_EXISTS(LCD)
422
+#if defined(LCD_PINS_D4) &&  LCD_PINS_D4 >= 0
423
   REPORT_NAME_DIGITAL(LCD_PINS_D4, __LINE__ )
423
   REPORT_NAME_DIGITAL(LCD_PINS_D4, __LINE__ )
424
 #endif
424
 #endif
425
-#if PIN_EXISTS(LCD)
425
+#if defined(LCD_PINS_D5) &&  LCD_PINS_D5 >= 0
426
   REPORT_NAME_DIGITAL(LCD_PINS_D5, __LINE__ )
426
   REPORT_NAME_DIGITAL(LCD_PINS_D5, __LINE__ )
427
 #endif
427
 #endif
428
-#if PIN_EXISTS(LCD)
428
+#if defined(LCD_PINS_D6) &&  LCD_PINS_D6 >= 0
429
   REPORT_NAME_DIGITAL(LCD_PINS_D6, __LINE__ )
429
   REPORT_NAME_DIGITAL(LCD_PINS_D6, __LINE__ )
430
 #endif
430
 #endif
431
-#if PIN_EXISTS(LCD)
431
+#if defined(LCD_PINS_D7) &&  LCD_PINS_D7 >= 0
432
   REPORT_NAME_DIGITAL(LCD_PINS_D7, __LINE__ )
432
   REPORT_NAME_DIGITAL(LCD_PINS_D7, __LINE__ )
433
 #endif
433
 #endif
434
-#if PIN_EXISTS(LCD)
434
+#if defined(LCD_PINS_ENABLE) &&  LCD_PINS_ENABLE >= 0
435
   REPORT_NAME_DIGITAL(LCD_PINS_ENABLE, __LINE__ )
435
   REPORT_NAME_DIGITAL(LCD_PINS_ENABLE, __LINE__ )
436
 #endif
436
 #endif
437
-#if PIN_EXISTS(LCD)
437
+#if defined(LCD_PINS_RS) &&  LCD_PINS_RS >= 0
438
   REPORT_NAME_DIGITAL(LCD_PINS_RS, __LINE__ )
438
   REPORT_NAME_DIGITAL(LCD_PINS_RS, __LINE__ )
439
 #endif
439
 #endif
440
 #if defined(LCD_SDSS) &&  LCD_SDSS >= 0
440
 #if defined(LCD_SDSS) &&  LCD_SDSS >= 0

Loading…
Cancel
Save