mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-06 02:06:01 +08:00
Fix Repetier Boot not displaying IP
Restart with partial end to avoid file corruption
This commit is contained in:
parent
15367cbd5c
commit
b1bcfabc83
@ -174,6 +174,10 @@ void Esp3D::restart_esp(bool need_restart)
|
||||
void Esp3D::restart_now()
|
||||
{
|
||||
log_esp3d("Restarting");
|
||||
serial_service.flush();
|
||||
#if defined(FILESYSTEM_FEATURE)
|
||||
ESP_FileSystem::end();
|
||||
#endif //FILESYSTEM_FEATURE
|
||||
serial_service.swap();
|
||||
ESP.restart();
|
||||
while (1) {
|
||||
|
@ -22,7 +22,7 @@
|
||||
#define _VERSION_ESP3D_H
|
||||
|
||||
//version and sources location
|
||||
#define FW_VERSION "3.0.0.a45"
|
||||
#define FW_VERSION "3.0.0.a46"
|
||||
#define REPOSITORY "https://github.com/luc-github/ESP3D/tree/3.0"
|
||||
|
||||
#endif //_VERSION_ESP3D_H
|
||||
|
@ -280,6 +280,7 @@ bool NetServices::begin()
|
||||
if (!res) {
|
||||
end();
|
||||
}
|
||||
Hal::wait(1000);
|
||||
output.printMSG(NetConfig::localIP().c_str());
|
||||
_started = res;
|
||||
return _started;
|
||||
|
Loading…
x
Reference in New Issue
Block a user