Fix Sonoff Pow R2 and Sonoff S31

Fix Sonoff Pow R2 and Sonoff S31 Serial interface hang caused by MP3 driver
This commit is contained in:
Theo Arends 2018-11-11 16:52:09 +01:00
parent 2a2b224a24
commit 0868c72140
2 changed files with 21 additions and 18 deletions

View File

@ -1,5 +1,6 @@
/* 6.3.0.7 20181111
* Fix wifi connection errors using ESP.reset instead of ESP.restart
* Fix wifi connection errors using wifi disconnect and ESP.reset instead of ESP.restart
* Fix Sonoff Pow R2 and Sonoff S31 Serial interface hang caused by MP3 driver
*
* 6.3.0.6 20181110
* Change GUI Configure Module by using AJAX for data fetch to cut page size (and memory use) by 40%

View File

@ -230,6 +230,7 @@ boolean Xdrv14(byte function)
{
boolean result = false;
if (pin[GPIO_MP3_DFR562] < 99) {
switch (function) {
case FUNC_PRE_INIT:
MP3PlayerInit(); // init and start communication
@ -238,6 +239,7 @@ boolean Xdrv14(byte function)
result = MP3PlayerCmd(); // return result from mp3 player command
break;
}
}
return result;
}