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

@@ -226,6 +226,9 @@ Work is in progress...
---
## Version history
#### v0.9.156
- fixed bug of random change of playback location when playing files from SD card
#### v0.9.155
- added bitrate badget for displays ST7789, ST7796, ILI9488, ILI9486, ILI9341, ILI9225 and ST7735(BLACKTAB)
(disable: #define BITRATE_FULL false)

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);