mirror of
https://github.com/arendst/Tasmota.git
synced 2025-08-02 23:47:42 +00:00
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:
parent
2a2b224a24
commit
0868c72140
@ -1,5 +1,6 @@
|
|||||||
/* 6.3.0.7 20181111
|
/* 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
|
* 6.3.0.6 20181110
|
||||||
* Change GUI Configure Module by using AJAX for data fetch to cut page size (and memory use) by 40%
|
* Change GUI Configure Module by using AJAX for data fetch to cut page size (and memory use) by 40%
|
||||||
|
@ -230,13 +230,15 @@ boolean Xdrv14(byte function)
|
|||||||
{
|
{
|
||||||
boolean result = false;
|
boolean result = false;
|
||||||
|
|
||||||
switch (function) {
|
if (pin[GPIO_MP3_DFR562] < 99) {
|
||||||
case FUNC_PRE_INIT:
|
switch (function) {
|
||||||
MP3PlayerInit(); // init and start communication
|
case FUNC_PRE_INIT:
|
||||||
break;
|
MP3PlayerInit(); // init and start communication
|
||||||
case FUNC_COMMAND:
|
break;
|
||||||
result = MP3PlayerCmd(); // return result from mp3 player command
|
case FUNC_COMMAND:
|
||||||
break;
|
result = MP3PlayerCmd(); // return result from mp3 player command
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user