This commit is contained in:
e2002
2023-06-02 12:12:21 +03:00
parent 3cd53f226a
commit aba29fcf16
15 changed files with 263 additions and 178 deletions

View File

@@ -139,10 +139,12 @@ void Player::loop() {
Audio::setVolume(volToI2S(requestP.payload));
break;
}
#ifdef USE_SD
case PR_CHECKSD: {
config.checkSD();
break;
}
#endif
default: break;
}
}
@@ -173,7 +175,7 @@ void Player::_play(uint16_t stationId) {
setError("");
remoteStationName = false;
config.setDspOn(1);
display.putRequest(PSTOP);
//display.putRequest(PSTOP);
setOutputPins(false);
config.setTitle(config.getMode()==PM_WEB?const_PlConnect:"");
config.station.bitrate=0;