[Taranis] Wrong audio volume scale

This commit is contained in:
bsongis
2015-06-28 16:41:17 +02:00
parent 8d5b178fc2
commit 871df6e913
+1 -1
View File
@@ -202,7 +202,7 @@ void setVolume(uint8_t volume)
I2C_SendData(I2C, 0);
if (!I2C_CheckEventTimeout(I2C_EVENT_MASTER_BYTE_TRANSMITTING))
return;
I2C_SendData(I2C, volume);
I2C_SendData(I2C, volumeScale[volume]);
if (!I2C_CheckEventTimeout(I2C_EVENT_MASTER_BYTE_TRANSMITTED))
return;