[Horus] VS1053B Volume added. No ticks at all compared to Taranis!
This commit is contained in:
@@ -243,6 +243,11 @@ void eepromWaitEepromStandbyState(void)
|
||||
}
|
||||
|
||||
#if !defined(BOOT)
|
||||
const uint8_t volumeScale[VOLUME_LEVEL_MAX+1] = {
|
||||
0, 1, 2, 3, 5, 9, 13, 17, 22, 27, 33, 40,
|
||||
64, 82, 96, 105, 112, 117, 120, 122, 124, 125, 126, 127
|
||||
};
|
||||
|
||||
void setScaledVolume(uint8_t volume)
|
||||
{
|
||||
if (volume > VOLUME_LEVEL_MAX) {
|
||||
|
||||
Reference in New Issue
Block a user