fix: Revert explicit REQUIRES mbedtls, move flood globals before NVS load

The main component in ESP-IDF auto-includes all components; explicit
REQUIRES overrides this and breaks the build. mbedtls is available
without it. Also moved flood detection globals above config_load_nvs
to fix undeclared identifier errors.
This commit is contained in:
user
2026-02-04 21:11:24 +01:00
parent 2586234473
commit fa589b0238
2 changed files with 14 additions and 15 deletions

View File

@@ -1,3 +1,2 @@
idf_component_register(SRC_DIRS "."
INCLUDE_DIRS "."
REQUIRES mbedtls)
INCLUDE_DIRS ".")