Explorar el Código

Tweak animated draw call

Scott Lahteine hace 5 años
padre
commit
a07c4af393
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1
    2
      Marlin/src/lcd/dogm/ultralcd_DOGM.cpp

+ 1
- 2
Marlin/src/lcd/dogm/ultralcd_DOGM.cpp Ver fichero

@@ -211,8 +211,7 @@ bool MarlinUI::detected() { return true; }
211 211
     #else
212 212
       constexpr millis_t d = MARLIN_BOOTSCREEN_FRAME_TIME;
213 213
       LOOP_L_N(f, COUNT(marlin_bootscreen_animation)) {
214
-        const u8g_pgm_uint8_t * const bmp = (u8g_pgm_uint8_t*)pgm_read_ptr(&marlin_bootscreen_animation[f]);
215
-        draw_bootscreen_bmp(bmp);
214
+        draw_bootscreen_bmp((uint8_t*)pgm_read_ptr(&marlin_bootscreen_animation[f]));
216 215
         if (d) safe_delay(d);
217 216
       }
218 217
     #endif

Loading…
Cancelar
Guardar