From 308991f80c46b81a600ab46c2dbfc62bfd6ac689 Mon Sep 17 00:00:00 2001 From: Ben Date: Mon, 20 Nov 2023 20:38:15 -0500 Subject: [PATCH] Fix invertfanpolarity NVS key too long --- config.cvs.example | 2 +- main/nvs_config.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.cvs.example b/config.cvs.example index 765ec0299..28e7a5a05 100644 --- a/config.cvs.example +++ b/config.cvs.example @@ -12,6 +12,6 @@ asicmodel,data,string,BM1366 devicemodel,data,string,ultra boardversion,data,string,0.11 flipscreen,data,u16,1 -invertfanpolarity,data,u16,1 +invertfanpol,data,u16,1 autofanspeed,data,u16,1 fanspeed,data,u16,100 \ No newline at end of file diff --git a/main/nvs_config.h b/main/nvs_config.h index 18f5025cd..2fbe9a792 100644 --- a/main/nvs_config.h +++ b/main/nvs_config.h @@ -16,7 +16,7 @@ #define NVS_CONFIG_BOARD_VERSION "boardversion" #define NVS_CONFIG_FLIP_SCREEN "flipscreen" #define NVS_CONFIG_INVERT_SCREEN "invertscreen" -#define NVS_CONFIG_INVERT_FAN_POLARITY "invertfanpolarity" +#define NVS_CONFIG_INVERT_FAN_POLARITY "invertfanpol" #define NVS_CONFIG_AUTO_FAN_SPEED "autofanspeed" #define NVS_CONFIG_FAN_SPEED "fanspeed" #define NVS_CONFIG_BEST_DIFF "bestdiff"