Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase update check interval to 1 hour #12

Merged
merged 1 commit into from
Sep 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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