Move RTC again to RADIO/HARDWARE

This commit is contained in:
Bertrand Songis
2019-07-05 17:21:36 +02:00
parent 680a1ba470
commit 50c23fa394
16 changed files with 234 additions and 317 deletions
+1 -1
View File
@@ -261,7 +261,7 @@ void adcRead()
adcValues[MOUSE1+x] = temp[x] >> 2;
}
if (ADC->CCR & ADC_CCR_VBATE) {
if (isVBatBridgeEnabled()) {
rtcBatteryVoltage = ADC1->DR;
}
}