Skip to content

Commit 1dfe919

Browse files
Copilotdorkmo
andcommitted
Move sendConfigGenerator forward declaration to proper location
Fixed compilation error by moving the sendConfigGenerator forward declaration from the secondary declaration block (after enum) to the primary block with other similar web handler functions. All sketches now compile successfully: - TankAlarm-112025-Server-BluesOpta (Arduino Opta) ✅ - TankAlarm-112025-Client-BluesOpta (Arduino Opta) ✅ - TankAlarm-112025-Viewer-BluesOpta (Arduino Opta) ✅ - TankAlarm-092025-Client-Hologram (MKR NB 1500) ✅ - TankAlarm-092025-Server-Hologram (MKR NB 1500) ✅ Co-authored-by: dorkmo <[email protected]>
1 parent 9771b91 commit 1dfe919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TankAlarm-112025-Server-BluesOpta/TankAlarm-112025-Server-BluesOpta.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2625,6 +2625,7 @@ static void respondJson(EthernetClient &client, const String &body, int status =
26252625
static void respondStatus(EthernetClient &client, int status, const String &message);
26262626
static void sendDashboard(EthernetClient &client);
26272627
static void sendClientConsole(EthernetClient &client);
2628+
static void sendConfigGenerator(EthernetClient &client);
26282629
static void sendTankJson(EthernetClient &client);
26292630
static void sendClientDataJson(EthernetClient &client);
26302631
static void handleConfigPost(EthernetClient &client, const String &body);
@@ -2639,7 +2640,6 @@ enum class ConfigDispatchStatus : uint8_t {
26392640
static void handlePinPost(EthernetClient &client, const String &body);
26402641
static void handleRefreshPost(EthernetClient &client, const String &body);
26412642
static void handleRelayPost(EthernetClient &client, const String &body);
2642-
static void sendConfigGenerator(EthernetClient &client);
26432643
static ConfigDispatchStatus dispatchClientConfig(const char *clientUid, JsonVariantConst cfgObj);
26442644
static bool sendRelayCommand(const char *clientUid, uint8_t relayNum, bool state, const char *source);
26452645
static void pollNotecard();

0 commit comments

Comments
 (0)