fix thermalManager
Signed-off-by: Sergey Terentiev <sergey@terentiev.me>
This commit is contained in:
@@ -145,7 +145,7 @@ void mks_wifi_start_file_upload(ESP_PROTOC_FRAME *packet){
|
||||
|
||||
thermalManager.setTargetBed(0);
|
||||
thermalManager.setTargetHotend(0,0);
|
||||
thermalManager.manage_heater();
|
||||
thermalManager.task();
|
||||
//Установить имя файла. Смещение на 3 байта, чтобы добавить путь к диску
|
||||
file_name[0]='0';
|
||||
file_name[1]=':';
|
||||
|
||||
@@ -19,7 +19,7 @@ void mks_update_status(char *filename,uint32_t current_filesize, uint32_t file_s
|
||||
|
||||
thermalManager.setTargetBed(0);
|
||||
thermalManager.setTargetHotend(0,0);
|
||||
thermalManager.manage_heater();
|
||||
thermalManager.task();
|
||||
OUT_WRITE(FAN1_PIN,HIGH);
|
||||
|
||||
//При расчете процентов размер файла превышает максимум для uint32_t
|
||||
|
||||
Reference in New Issue
Block a user