Cleanup
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user