Add Support for the DS3231 RTC and enable it for AR9X, refs #3531 (#3555)

* Add Support for the DS3231 RTC and enable it for AR9X, refs #3531

* fix compile for PCB=sky9x

* rtc ds3231: Add missing OpenTX headers
This commit is contained in:
reichi
2016-06-09 17:58:42 +02:00
committed by Bertrand Songis
parent 0c66f520a2
commit 8606e75f45
9 changed files with 1425 additions and 11 deletions
+2
View File
@@ -165,10 +165,12 @@ void setScaledVolume(uint8_t volume)
{
#if !defined(NO_HARDWARE_VOLUME)
volumeRequired = volumeScale[min<uint8_t>(volume, VOLUME_LEVEL_MAX)];
#ifndef AR9X
__disable_irq() ;
i2cCheck() ;
__enable_irq() ;
#endif
#endif
}
#endif // #if !defined(SIMU)