소스 검색

Fix undefined lcd_tmpfan_speed on NO_LCD_MENUS (#13006)

Jiri 6 년 전
부모
커밋
24fffb8d93
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1
    1
      Marlin/src/lcd/ultralcd.cpp
  2. 1
    1
      Marlin/src/module/temperature.cpp

+ 1
- 1
Marlin/src/lcd/ultralcd.cpp 파일 보기

260
     encoderDiff = 0;
260
     encoderDiff = 0;
261
   #endif
261
   #endif
262
 
262
 
263
-  #if HAS_TRINAMIC
263
+  #if HAS_TRINAMIC && HAS_LCD_MENU
264
     init_tmc_section();
264
     init_tmc_section();
265
   #endif
265
   #endif
266
 }
266
 }

+ 1
- 1
Marlin/src/module/temperature.cpp 파일 보기

164
     if (target >= FAN_COUNT) return;
164
     if (target >= FAN_COUNT) return;
165
 
165
 
166
     fan_speed[target] = speed;
166
     fan_speed[target] = speed;
167
-    #if ENABLED(ULTRA_LCD)
167
+    #if HAS_LCD_MENU
168
       lcd_tmpfan_speed[target] = speed;
168
       lcd_tmpfan_speed[target] = speed;
169
     #endif
169
     #endif
170
   }
170
   }

Loading…
취소
저장