Browse Source

fix duplicated definition of MOSI MISO pins in case motherboard==33

Bernhard 13 years ago
parent
commit
396270a0de
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      Marlin/Sd2PinMap.h

+ 2
- 0
Marlin/Sd2PinMap.h View File

38
 uint8_t const SDA_PIN = 20;  // D1
38
 uint8_t const SDA_PIN = 20;  // D1
39
 uint8_t const SCL_PIN = 21;  // D0
39
 uint8_t const SCL_PIN = 21;  // D0
40
 
40
 
41
+#undef MOSI_PIN
42
+#undef MISO_PIN
41
 // SPI port
43
 // SPI port
42
 uint8_t const SS_PIN = 53;    // B0
44
 uint8_t const SS_PIN = 53;    // B0
43
 uint8_t const MOSI_PIN = 51;  // B2
45
 uint8_t const MOSI_PIN = 51;  // B2

Loading…
Cancel
Save