1.Ensured all libraries are uptodate
2.Upon build I get thefollowing errors:
Compiling .pio\build\mks_robin_nano35\src\src\lcd\extui\lib\mks_ui\draw_step_settings.cpp.o
Marlin\src\lcd\extui\lib\mks_ui\draw_print_file.cpp: In function 'uint32_t lv_open_gcode_file(char*)':
Marlin\src\lcd\extui\lib\mks_ui\draw_print_file.cpp:376:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
Marlin\src\lcd\extui\lib\mks_ui\draw_print_file.cpp: In function 'void lv_gcode_file_seek(uint32_t)':
Marlin\src\lcd\extui\lib\mks_ui\draw_print_file.cpp:451:3: error: 'card' was not declared
in this scope
card.setIndex(pos);
^~~~
Marlin\src\lcd\extui\lib\mks_ui\draw_print_file.cpp:451:3: note: suggested alternative: 'word'
card.setIndex(pos);
^~~~
word
*** [.pio\build\mks_robin_nano35\src\src\lcd\extui\lib\mks_ui\draw_print_file.cpp.o] Error 1
Marlin\src\lcd\extui\lib\mks_ui\draw_printing.cpp: In function 'void setProBarRate()':
Marlin\src\lcd\extui\lib\mks_ui\draw_printing.cpp:285:23: warning: 'rate_tmp_r' may be used uninitialized in this function [-Wmaybe-uninitialized]
rate = rate_tmp_r / gCfgItems.curFilesize;
Marlin\src\lcd\extui\lib\mks_ui\draw_printing.cpp:291:24: warning: 'rate_tmp_r' may be used uninitialized in this function [-Wmaybe-uninitialized]
rate = (rate_tmp_r - (PREVIEW_SIZE + To_pre_view)) * 100 / (gCfgItems.curFilesize - (PREVIEW_SIZE + To_pre_view));
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1.Ensured all libraries are uptodate 2.Upon build I get thefollowing errors:
Compiling .pio\build\mks_robin_nano35\src\src\lcd\extui\lib\mks_ui\draw_step_settings.cpp.o Marlin\src\lcd\extui\lib\mks_ui\draw_print_file.cpp: In function 'uint32_t lv_open_gcode_file(char*)': Marlin\src\lcd\extui\lib\mks_ui\draw_print_file.cpp:376:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ Marlin\src\lcd\extui\lib\mks_ui\draw_print_file.cpp: In function 'void lv_gcode_file_seek(uint32_t)': Marlin\src\lcd\extui\lib\mks_ui\draw_print_file.cpp:451:3: error: 'card' was not declared in this scope card.setIndex(pos); ^~~~ Marlin\src\lcd\extui\lib\mks_ui\draw_print_file.cpp:451:3: note: suggested alternative: 'word' card.setIndex(pos); ^~~~ word *** [.pio\build\mks_robin_nano35\src\src\lcd\extui\lib\mks_ui\draw_print_file.cpp.o] Error 1 Marlin\src\lcd\extui\lib\mks_ui\draw_printing.cpp: In function 'void setProBarRate()': Marlin\src\lcd\extui\lib\mks_ui\draw_printing.cpp:285:23: warning: 'rate_tmp_r' may be used uninitialized in this function [-Wmaybe-uninitialized] rate = rate_tmp_r / gCfgItems.curFilesize;