Modem: Respond to % escaped commands, fixes Windows autodetection taking a long time

This commit is contained in:
RichardG867 2024-07-26 17:07:49 -03:00
parent b418b0d186
commit 09ba9a1fb2

View file

@ -1091,6 +1091,10 @@ modem_do_command(modem_t *modem, int repeat)
}
break;
}
case '%': // % escaped commands
// Windows 98 modem prober sends unknown command AT%V
modem_send_res(modem, ResERROR);
return;
case '\0':
modem_send_res(modem, ResOK);
return;