From 66c8a9c4bea9fc1dc0c372545293f0ecf379600a Mon Sep 17 00:00:00 2001 From: Colin Date: Wed, 16 Oct 2024 11:34:21 +0100 Subject: [PATCH] In the setup() function, buttonPressStartTime and isButtonPressed are being redefined locally, which isn't needed since they're already set up as global variables. This could lead to confusion, so it's better to just remove those local definitions. --- Web_Scraper.ino | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Web_Scraper.ino b/Web_Scraper.ino index 7b2ffd6..04a5fdc 100644 --- a/Web_Scraper.ino +++ b/Web_Scraper.ino @@ -54,10 +54,6 @@ void setup() { String storedUsername = readGitHubUsername(); String storedWIFI = WIFI; - // Button press duration - unsigned long buttonPressStartTime = 0; - bool isButtonPressed = false; - // Check if a GitHub username is stored in EEPROM if (storedUsername.length() > 0) { Serial.println("Stored GitHub Username: " + storedUsername);