Fix bug introduced by last commit

This commit is contained in:
Kagamiin~
2024-03-22 01:35:31 -03:00
parent 3e539c630b
commit d41e791aec

View File

@@ -127,7 +127,7 @@ typedef struct ess_t {
static double ess_mixer_get_vol_4bit(uint8_t vol)
{
return sb_att_2dbstep_4bits[vol] / 32767.0;
return sb_att_2dbstep_4bits[vol & 0x0F] / 32767.0;
}
void