Skip to content

Commit

Permalink
Merge pull request #12 from oleksiikutuzov/dev
Browse files Browse the repository at this point in the history
Increase update check interval to 1 hour
  • Loading branch information
oleksiikutuzov authored Sep 3, 2022
2 parents 2d2630d + 79adf11 commit c7a3007
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.3
1.3.4
Binary file modified esp32_led_strip.bin
Binary file not shown.
4 changes: 2 additions & 2 deletions led_strip/OTA.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#define URL_fw_Version "https://raw.githubusercontent.com/oleksiikutuzov/esp32-homekit-led-strip/main/bin_version.txt"
#define URL_fw_Bin "https://raw.githubusercontent.com/oleksiikutuzov/esp32-homekit-led-strip/main/esp32_led_strip.bin"

#define FW_VERSION "1.3.3"
#define FW_VERSION "1.3.4"

String FirmwareVer = {
FW_VERSION};
Expand All @@ -17,7 +17,7 @@ void firmwareUpdate();
int FirmwareVersionCheck();

unsigned long previousMillis = 0; // will store last time LED was updated
const long interval = 60000;
const long interval = 60 * 60 * 1000; // 1 hour in ms

void repeatedCall() {
static int num = 0;
Expand Down

0 comments on commit c7a3007

Please sign in to comment.