v0.6.202
This commit is contained in:
@@ -153,7 +153,10 @@ void encoder2Loop() {
|
||||
if (ENC2_BTNB != 255) {
|
||||
bp = digitalRead(ENC2_BTNB);
|
||||
}
|
||||
if (bp == HIGH && display.mode == PLAYER) display.putRequest({NEWMODE, STATIONS}); //display.swichMode(STATIONS);
|
||||
if (bp == HIGH && display.mode == PLAYER) {
|
||||
display.putRequest({NEWMODE, STATIONS});
|
||||
while(display.mode != STATIONS) {delay(5);}
|
||||
}
|
||||
controlsEvent(encNewPosition > 0);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -444,6 +444,8 @@ void Display::loop() {
|
||||
plCurrent.loop();
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
dsp.loop();
|
||||
if (dsp_on_loop) dsp_on_loop(&dsp);
|
||||
|
||||
@@ -33,6 +33,7 @@ bool NetServer::begin() {
|
||||
ssidCount = 0;
|
||||
int mcb = heap_caps_get_free_size(MALLOC_CAP_8BIT);
|
||||
int mci = heap_caps_get_free_size(MALLOC_CAP_INTERNAL);
|
||||
(void)mci;
|
||||
log_i("[yoradio] webserver.on / - MALLOC_CAP_INTERNAL=%d, MALLOC_CAP_8BIT=%d", mci, mcb);
|
||||
netserver.resumePlay = mcb < MIN_MALLOC;
|
||||
if (netserver.resumePlay) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef options_h
|
||||
#define options_h
|
||||
|
||||
#define VERSION "0.6.200"
|
||||
#define VERSION "0.6.202"
|
||||
|
||||
/*******************************************************
|
||||
DO NOT EDIT THIS FILE.
|
||||
|
||||
@@ -4246,7 +4246,7 @@ void Audio::setBalance(int8_t bal){ // bal -16...16
|
||||
}
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void Audio::setVolume(uint8_t vol) { // vol 22 steps, 0...21
|
||||
if(vol > 255) vol = 254;
|
||||
if(vol > 254) vol = 254;
|
||||
//volume = map(eeprom_config.volume, 0, 21, 0, 255);
|
||||
//m_vol = map(vol, 0, 254, 0, 64);
|
||||
m_vol = vol;
|
||||
|
||||
Reference in New Issue
Block a user