sd_i2s+sd_vs_v1

This commit is contained in:
e2002
2022-12-15 17:49:44 +03:00
parent b75b9c6d11
commit 495d4375da
16 changed files with 191 additions and 67 deletions

View File

@@ -363,8 +363,8 @@ void onBtnLongPressStart(int id) {
break;
}
case EVT_BTNMODE: {
//onBtnClick(EVT_BTNMODE);
config.doSleepW();
//config.doSleepW();
display.putRequest(NEWMODE, SLEEPING);
break;
}
default: break;
@@ -380,6 +380,10 @@ void onBtnLongPressStop(int id) {
lpId = -1;
break;
}
case EVT_BTNMODE: {
config.doSleepW();
break;
}
default:
break;
}
@@ -498,9 +502,9 @@ void onBtnClick(int id) {
config.store.play_mode++;
if(config.store.play_mode > MAX_PLAY_MODE){
config.store.play_mode=0;
config.save();
ESP.restart();
}
config.save();
ESP.restart();
break;
}
default: break;