Pārlūkot izejas kodu

Tweak RAMPS SDSS pins

Scott Lahteine 6 gadus atpakaļ
vecāks
revīzija
472ab0cc24
1 mainītis faili ar 3 papildinājumiem un 6 dzēšanām
  1. 3
    6
      Marlin/src/pins/pins_RAMPS.h

+ 3
- 6
Marlin/src/pins/pins_RAMPS.h Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt