From 98eee477854d1ccebd86d24c938285f72391b732 Mon Sep 17 00:00:00 2001 From: fredlcore Date: Fri, 27 Dec 2024 22:18:50 +0800 Subject: [PATCH] Bugfix --- BSB_LAN/BSB_LAN.ino | 6 ++++++ BSB_LAN/BSB_LAN_EEPROMconfig.h | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/BSB_LAN/BSB_LAN.ino b/BSB_LAN/BSB_LAN.ino index 062ec34a..ca53c3e9 100644 --- a/BSB_LAN/BSB_LAN.ino +++ b/BSB_LAN/BSB_LAN.ino @@ -95,6 +95,12 @@ #define PRINT_ONLY_VALUE_LINE 16 #define PRINT_ENUM_AS_DT_BITS 32 +#define CF_LOGMODE_SD_CARD 1 +#define CF_LOGMODE_24AVG 2 +#define CF_LOGMODE_MQTT 4 +#define CF_LOGMODE_MQTT_ONLY_LOG_PARAMS 8 +#define CF_LOGMODE_UDP 16 + #define LAN 0 #define WLAN 1 #define SDCARD 0 diff --git a/BSB_LAN/BSB_LAN_EEPROMconfig.h b/BSB_LAN/BSB_LAN_EEPROMconfig.h index ce598a76..f65f0ffa 100644 --- a/BSB_LAN/BSB_LAN_EEPROMconfig.h +++ b/BSB_LAN/BSB_LAN_EEPROMconfig.h @@ -1,9 +1,3 @@ -#define CF_LOGMODE_SD_CARD 1 -#define CF_LOGMODE_24AVG 2 -#define CF_LOGMODE_MQTT 4 -#define CF_LOGMODE_MQTT_ONLY_LOG_PARAMS 8 -#define CF_LOGMODE_UDP 16 - typedef enum{ // Version 0 (header + PPS values + space for MAX! devices) CF_USEEEPROM, //Size: 1 byte. 0x96 - read config from EEPROM. Other values - read predefined values from BSB_lan_config