소스 검색

Tweak animated draw call

Scott Lahteine 5 년 전
부모
커밋
a07c4af393
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1
    2
      Marlin/src/lcd/dogm/ultralcd_DOGM.cpp

+ 1
- 2
Marlin/src/lcd/dogm/ultralcd_DOGM.cpp 파일 보기

@@ -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…
취소
저장