serialsend6 - fixes

Forgot to fix top condition
This commit is contained in:
George 2020-07-20 10:08:20 +10:00
parent 63242de249
commit 8a4a0d67ff

View File

@ -1334,7 +1334,7 @@ void CmndSerialConfig(void)
void CmndSerialSend(void)
{
if ((XdrvMailbox.index > 0) && (XdrvMailbox.index <= 5)) {
if ((XdrvMailbox.index > 0) && (XdrvMailbox.index <= 6)) {
SetSeriallog(LOG_LEVEL_NONE);
Settings.flag.mqtt_serial = 1; // CMND_SERIALSEND and CMND_SERIALLOG
Settings.flag.mqtt_serial_raw = (XdrvMailbox.index > 3) ? 1 : 0; // CMND_SERIALSEND3