ota battery check disabled; v1.5.8

This commit is contained in:
Klaus K Wilting 2018-09-30 11:54:45 +02:00
parent 6ed5368098
commit bad2331a6b
2 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,7 @@ description = Paxcounter is a proof-of-concept ESP32 device for metering passeng
[common] [common]
; for release_version use max. 10 chars total, use any decimal format like "a.b.c" ; for release_version use max. 10 chars total, use any decimal format like "a.b.c"
release_version = 1.5.7 release_version = 1.5.8
; DEBUG LEVEL: For production run set to 0, otherwise device will leak RAM while running! ; DEBUG LEVEL: For production run set to 0, otherwise device will leak RAM while running!
; 0=None, 1=Error, 2=Warn, 3=Info, 4=Debug, 5=Verbose ; 0=None, 1=Error, 2=Warn, 3=Info, 4=Debug, 5=Verbose
debug_level = 0 debug_level = 0

View File

@ -43,6 +43,7 @@ inline String getHeaderValue(String header, String headerName) {
void start_ota_update() { void start_ota_update() {
/*
// check battery status if we can before doing ota // check battery status if we can before doing ota
#ifdef HAS_BATTERY_PROBE #ifdef HAS_BATTERY_PROBE
if (!batt_sufficient()) { if (!batt_sufficient()) {
@ -50,6 +51,7 @@ void start_ota_update() {
return; return;
} }
#endif #endif
*/
// turn on LED // turn on LED
#if (HAS_LED != NOT_A_PIN) #if (HAS_LED != NOT_A_PIN)