Skip to content

Commit

Permalink
Fix webserver issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cziter15 committed Sep 19, 2024
1 parent f33e8f0 commit 1a31694
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ksf/comp/ksDevicePortal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <LittleFS.h>

#if defined(ESP32) || defined(ESP8266)
#if ESP8266
#if defined(ESP8266)
#define HARDWARE "ESP8266"

#include "flash_hal.h"
Expand All @@ -24,7 +24,7 @@

uint8_t ESP_getFlashVendor() { return ESP.getFlashChipVendorId(); }
uint32_t ESP_getFlashSizeKB() { return ESP.getFlashChipRealSize()/1024; }
#elif ESP32
#elif defined(ESP32)
#define HARDWARE "ESP32"

#include <WiFi.h>
Expand Down

0 comments on commit 1a31694

Please sign in to comment.