We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 840e73f commit 21ccbc9Copy full SHA for 21ccbc9
variants/mkrgsm1400/variant.cpp
@@ -217,10 +217,9 @@ void initVariant() {
217
pinMode(ADC_BATTERY, INPUT);
218
delay(100);
219
220
- if (analogRead(ADC_BATTERY) > 800) {
+ if (analogRead(ADC_BATTERY) > 600) {
221
enable_battery_charging();
222
- }
223
- else{
+ } else {
224
disable_battery_charging();
225
}
226
0 commit comments