Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
microbuilder committed Feb 27, 2017
1 parent 1399cdf commit 017c29a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 017c29a

Please sign in to comment.