Merge branch 'development' into release

This commit is contained in:
Theo Arends 2020-03-13 14:02:23 +01:00
commit f3f8248655
1 changed files with 1 additions and 1 deletions

View File

@ -1342,7 +1342,7 @@ void CmndWifiConfig(void)
void CmndFriendlyname(void)
{
if ((XdrvMailbox.index > 0) && (XdrvMailbox.index <= MAX_FRIENDLYNAMES)) {
if (!XdrvMailbox.usridx) {
if (!XdrvMailbox.usridx && !XdrvMailbox.data_len) {
ResponseCmndAll(SET_FRIENDLYNAME1, MAX_FRIENDLYNAMES);
} else {
if (XdrvMailbox.data_len > 0) {