Separate M20 command from file listing to give time to get the complete file list before sending the list Change SDK function system_get_time and wifi_get_opmode to use wrapper ones and avoid to include user_interface.h if not necessary
Fix issues with repetier which check code when cpoy to SD remove unused variables add log function for debug
First pass - may need fine tune
Add free mem in config report
Thanks to @openhardwarecoza and @TRoager for the idea and feedback