Browse Source

Tweak RAMPS SDSS pins

Scott Lahteine 6 years ago
parent
commit
472ab0cc24
1 changed files with 3 additions and 6 deletions
  1. 3
    6
      Marlin/src/pins/pins_RAMPS.h

+ 3
- 6
Marlin/src/pins/pins_RAMPS.h View File

449
       #define BTN_EN1           47
449
       #define BTN_EN1           47
450
       #define BTN_EN2           43
450
       #define BTN_EN2           43
451
       #define BTN_ENC           32
451
       #define BTN_ENC           32
452
-      #define LCD_SDSS          53
452
+      #define LCD_SDSS          SDSS
453
       #define KILL_PIN          41
453
       #define KILL_PIN          41
454
 
454
 
455
     #elif ENABLED(LCD_I2C_VIKI)
455
     #elif ENABLED(LCD_I2C_VIKI)
458
       #define BTN_EN2            7   // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
458
       #define BTN_EN2            7   // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
459
       #define BTN_ENC           -1
459
       #define BTN_ENC           -1
460
 
460
 
461
-      #define LCD_SDSS          53
461
+      #define LCD_SDSS          SDSS
462
       #define SD_DETECT_PIN     49
462
       #define SD_DETECT_PIN     49
463
 
463
 
464
     #elif ENABLED(VIKI2) || ENABLED(miniVIKI)
464
     #elif ENABLED(VIKI2) || ENABLED(miniVIKI)
475
       #define BTN_EN2            7
475
       #define BTN_EN2            7
476
       #define BTN_ENC           39
476
       #define BTN_ENC           39
477
 
477
 
478
-      #define SDSS              53
479
       #define SD_DETECT_PIN     -1   // Pin 49 for display sd interface, 72 for easy adapter board
478
       #define SD_DETECT_PIN     -1   // Pin 49 for display sd interface, 72 for easy adapter board
480
       #define KILL_PIN          31
479
       #define KILL_PIN          31
481
 
480
 
491
       #define BTN_EN2           37
490
       #define BTN_EN2           37
492
       #define BTN_ENC           31
491
       #define BTN_ENC           31
493
 
492
 
494
-      #define LCD_SDSS          53
493
+      #define LCD_SDSS          SDSS
495
       #define SD_DETECT_PIN     49
494
       #define SD_DETECT_PIN     49
496
       #define KILL_PIN          41
495
       #define KILL_PIN          41
497
 
496
 
515
       #define BTN_EN2           33
514
       #define BTN_EN2           33
516
       #define BTN_ENC           35
515
       #define BTN_ENC           35
517
 
516
 
518
-      #define SDSS              53
519
       #define SD_DETECT_PIN     49
517
       #define SD_DETECT_PIN     49
520
       #define KILL_PIN          64
518
       #define KILL_PIN          64
521
 
519
 
539
       #define BTN_EN2           63
537
       #define BTN_EN2           63
540
       #define BTN_ENC           59
538
       #define BTN_ENC           59
541
 
539
 
542
-      #define SDSS              53
543
       #define SD_DETECT_PIN     49
540
       #define SD_DETECT_PIN     49
544
       #define KILL_PIN          64
541
       #define KILL_PIN          64
545
 
542
 

Loading…
Cancel
Save