This commit is contained in:
e2002
2023-04-18 14:54:48 +03:00
parent b49d76932d
commit c3c18b0865
3 changed files with 5 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#ifndef options_h
#define options_h
#define YOVERSION "0.9.155"
#define YOVERSION "0.9.156"
/*******************************************************
DO NOT EDIT THIS FILE.

View File

@@ -89,7 +89,7 @@ void Player::setError(const char *e){
}
void Player::_stop(bool alreadyStopped){
if(config.store.play_mode==PM_SDCARD) config.sdResumePos = player.getFilePos();
if(config.store.play_mode==PM_SDCARD && !alreadyStopped) config.sdResumePos = player.getFilePos();
_status = STOPPED;
setOutputPins(false);
if(!hasError()) config.setTitle((display.mode()==LOST || display.mode()==UPDATING)?"":const_PlStopped);