Explorar el Código

Fix SPI on SMART RAMPS with mega2560 (#21128)

kpishere hace 3 años
padre
commit
fb8b421aac
No account linked to committer's email address
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2
    1
      Marlin/src/lcd/dogm/marlinui_DOGM.h

+ 2
- 1
Marlin/src/lcd/dogm/marlinui_DOGM.h Ver fichero

@@ -88,7 +88,8 @@
88 88
 
89 89
   #define SMART_RAMPS MB(RAMPS_SMART_EFB, RAMPS_SMART_EEB, RAMPS_SMART_EFF, RAMPS_SMART_EEF, RAMPS_SMART_SF)
90 90
   #define U8G_CLASS U8GLIB_64128N_2X_HAL                        // 4 stripes (HW-SPI)
91
-  #if SMART_RAMPS || DOGLCD_SCK != SD_SCK_PIN || DOGLCD_MOSI != SD_MOSI_PIN
91
+
92
+  #if (SMART_RAMPS && defined(__SAM3X8E__)) || DOGLCD_SCK != SD_SCK_PIN || DOGLCD_MOSI != SD_MOSI_PIN
92 93
     #define FORCE_SOFT_SPI                                      // SW-SPI
93 94
   #endif
94 95
 

Loading…
Cancelar
Guardar