This commit is contained in:
e2002
2022-04-12 09:58:42 +03:00
parent b840b4418a
commit 51f85109c9
7 changed files with 15 additions and 4 deletions

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