diff --git a/src/config.h b/src/config.h index bf16b5f..3cd3b7d 100644 --- a/src/config.h +++ b/src/config.h @@ -32,6 +32,6 @@ /* * firmeware version string */ - #define __FIRMWARE__ "2020082105" + #define __FIRMWARE__ "2020082106" #endif // _CONFIG_H diff --git a/src/gui/mainbar/setup_tile/update/update_check_version.cpp b/src/gui/mainbar/setup_tile/update/update_check_version.cpp index af70490..eb705c0 100644 --- a/src/gui/mainbar/setup_tile/update/update_check_version.cpp +++ b/src/gui/mainbar/setup_tile/update/update_check_version.cpp @@ -74,7 +74,7 @@ int64_t update_check_new_version( char *url ) { } firmwarehost = tmp_firmwarehost; } - strlcpy( firmwarehost, doc["host"], sizeof( firmwarehost ) ); + strcpy( firmwarehost, doc["host"] ); log_i("firmwarehost: %s", firmwarehost ); } @@ -94,7 +94,7 @@ int64_t update_check_new_version( char *url ) { } firmwarefile = tmp_firmwarefile; } - strlcpy( firmwarefile, doc["file"], sizeof( firmwarefile ) ); + strcpy( firmwarefile, doc["file"] ); log_i("firmwarefile: %s", firmwarefile ); } diff --git a/ttgo-t-watch2020_v1.ino.bin b/ttgo-t-watch2020_v1.ino.bin index ca02957..a7b88f0 100644 Binary files a/ttgo-t-watch2020_v1.ino.bin and b/ttgo-t-watch2020_v1.ino.bin differ diff --git a/ttgo-t-watch2020_v1.version.json b/ttgo-t-watch2020_v1.version.json index fc9daa8..a1ec42b 100644 --- a/ttgo-t-watch2020_v1.version.json +++ b/ttgo-t-watch2020_v1.version.json @@ -1 +1 @@ -{"version":"2020082105","host":"http://www.neo-guerillaz.de","file":"ttgo-t-watch2020_v1.ino.bin"} +{"version":"2020082106","host":"http://www.neo-guerillaz.de","file":"ttgo-t-watch2020_v1.ino.bin"}