This commit is contained in:
microbuilder committed 2017-02-27 12:28:13 +01:00
1 parent 1399cdf794
commit 017c29acb4
1 file changed
+1 -1
@@ -19,7 +19,7 @@ float readVBAT(void) {
raw = analogRead(VBAT_PIN);
// Set the ADC back to the default settings
analogReference(AR_INTERNAL);
analogReference(AR_DEFAULT);
analogReadResolution(10);
// Convert the raw value to mv