Preliminary ar9x board support

This commit is contained in:
Andre Bernet
2015-08-25 16:20:08 +02:00
parent 710ed9c5d1
commit 0d6907c76c
9 changed files with 75 additions and 17 deletions
+2
View File
@@ -179,10 +179,12 @@ void audioEnd()
void setVolume(uint8_t volume)
{
#if !defined(NO_HARDWARE_VOLUME)
volumeRequired = volumeScale[min<uint8_t>(volume, VOLUME_LEVEL_MAX)];
__disable_irq() ;
i2cCheck() ;
__enable_irq() ;
#endif
}