diff --git a/platformio.ini b/platformio.ini index 2c159c1e..97f71896 100644 --- a/platformio.ini +++ b/platformio.ini @@ -26,7 +26,7 @@ description = Paxcounter is a proof-of-concept ESP32 device for metering passeng [common] ; for release_version use max. 10 chars total, use any decimal format like "a.b.c" -release_version = 1.4.36 +release_version = 1.5.0 ; 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 debug_level = 0 @@ -76,7 +76,7 @@ platform = ${common.platform_espressif32} framework = arduino board = heltec_wifi_lora_32 board_build.partitions = ${common.board_build.partitions} -upload_speed = 115200 +upload_speed = 921600 lib_deps = ${common.lib_deps_all} ${common.lib_deps_display} diff --git a/src/ota.cpp b/src/ota.cpp index 6be81127..93a94e6c 100644 --- a/src/ota.cpp +++ b/src/ota.cpp @@ -15,7 +15,7 @@ limitations under the License. */ -#include "OTA.h" +#include "ota.h" const BintrayClient bintray(BINTRAY_USER, BINTRAY_REPO, BINTRAY_PACKAGE); diff --git a/src/ota.h b/src/ota.h index 4b9e92d1..27c1b748 100644 --- a/src/ota.h +++ b/src/ota.h @@ -6,6 +6,7 @@ #include #include #include +#include void checkFirmwareUpdates(); void processOTAUpdate(const String &version);