Browse Source

Remove STM32 board-specific delays (#12243)

...and replace with delays for all HAL_STM32 boards.
Karl Andersson 6 years ago
parent
commit
c1e8bd6add
1 changed files with 1 additions and 5 deletions
  1. 1
    5
      Marlin/src/lcd/dogm/ultralcd_st7920_u8glib_rrd_AVR.cpp

+ 1
- 5
Marlin/src/lcd/dogm/ultralcd_st7920_u8glib_rrd_AVR.cpp View File

@@ -72,11 +72,7 @@
72 72
   #define CPU_ST7920_DELAY_1 DELAY_NS(0)
73 73
   #define CPU_ST7920_DELAY_2 DELAY_NS(0)
74 74
   #define CPU_ST7920_DELAY_3 DELAY_NS(189)
75
-#elif MB(REMRAM_V1)
76
-  #define CPU_ST7920_DELAY_1 DELAY_NS(0)
77
-  #define CPU_ST7920_DELAY_2 DELAY_NS(0)
78
-  #define CPU_ST7920_DELAY_3 DELAY_NS(0)
79
-#elif MB(ARMED)
75
+#elif defined(ARDUINO_ARCH_STM32)
80 76
   #define CPU_ST7920_DELAY_1 DELAY_NS(0)
81 77
   #define CPU_ST7920_DELAY_2 DELAY_NS(0)
82 78
   #define CPU_ST7920_DELAY_3 DELAY_NS(0)

Loading…
Cancel
Save