From 017c29acb425912e88da2a14dc6829a154f19fe9 Mon Sep 17 00:00:00 2001 From: microbuilder Date: Mon, 27 Feb 2017 12:28:13 +0100 Subject: [PATCH] Cleanup --- .../AdafruitFeather52Examples/Hardware/adc_vbat/adc_vbat.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AdafruitFeather52Examples/Hardware/adc_vbat/adc_vbat.ino b/libraries/AdafruitFeather52Examples/Hardware/adc_vbat/adc_vbat.ino index 364439d64..98f6c7523 100644 --- a/libraries/AdafruitFeather52Examples/Hardware/adc_vbat/adc_vbat.ino +++ b/libraries/AdafruitFeather52Examples/Hardware/adc_vbat/adc_vbat.ino @@ -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