Fix if ESP restart but mainboard do not

This commit is contained in:
luc lebosse 2016-11-17 17:44:17 +01:00
parent eb8dd002fe
commit e3bf7e4bf8

View File

@ -3467,7 +3467,7 @@ void handle_web_command(){
//check command //check command
COMMAND::check_command(current_line,false); COMMAND::check_command(current_line,false);
#if ((FIRMWARE_TARGET == REPETIER) || (FIRMWARE_TARGET == REPETIER4DV)) #if ((FIRMWARE_TARGET == REPETIER) || (FIRMWARE_TARGET == REPETIER4DV))
if ((current_line != "ok 0")) if (!current_line.startsWith( "ok "))
#endif #endif
{ {
buffer2send +=current_line; buffer2send +=current_line;