fix clang-tidy

This commit is contained in:
Tomasz Duda 2024-08-14 17:47:45 +02:00
parent 94ceaea456
commit 80f351a5b6

View file

@ -16,9 +16,6 @@
// Feature flags // Feature flags
#define USE_ALARM_CONTROL_PANEL #define USE_ALARM_CONTROL_PANEL
#define USE_API
#define USE_API_NOISE
#define USE_API_PLAINTEXT
#define USE_BINARY_SENSOR #define USE_BINARY_SENSOR
#define USE_BUTTON #define USE_BUTTON
#define USE_CLIMATE #define USE_CLIMATE
@ -52,11 +49,6 @@
#define USE_MEDIA_PLAYER #define USE_MEDIA_PLAYER
#define USE_NEXTION_TFT_UPLOAD #define USE_NEXTION_TFT_UPLOAD
#define USE_NUMBER #define USE_NUMBER
#define USE_ONLINE_IMAGE_PNG_SUPPORT
#define USE_OTA
#define USE_OTA_PASSWORD
#define USE_OTA_STATE_CALLBACK
#define USE_OTA_VERSION 1
#define USE_OUTPUT #define USE_OUTPUT
#define USE_POWER_SUPPLY #define USE_POWER_SUPPLY
#define USE_QR_CODE #define USE_QR_CODE
@ -72,12 +64,21 @@
#define USE_UPDATE #define USE_UPDATE
#define USE_VALVE #define USE_VALVE
// Things which do not work for zephyr // Feature flags which do not work for zephyr
#ifndef USE_ZEPHYR #ifndef USE_ZEPHYR
#define USE_API
#define USE_API_NOISE
#define USE_API_PLAINTEXT
#define USE_MQTT #define USE_MQTT
#define USE_NETWORK #define USE_NETWORK
#define USE_ONLINE_IMAGE_PNG_SUPPORT
#define USE_OTA
#define USE_OTA_PASSWORD
#define USE_OTA_STATE_CALLBACK
#define USE_OTA_VERSION 1
#define USE_WIFI #define USE_WIFI
#define USE_WIFI_AP #define USE_WIFI_AP
#define USE_WIREGUARD
#endif #endif
// Arduino-specific feature flags // Arduino-specific feature flags
@ -92,6 +93,7 @@
// IDF-specific feature flags // IDF-specific feature flags
#ifdef USE_ESP_IDF #ifdef USE_ESP_IDF
#define USE_MQTT_IDF_ENQUEUE #define USE_MQTT_IDF_ENQUEUE
#define USE_CAPTIVE_PORTAL
#endif #endif
// ESP32-specific feature flags // ESP32-specific feature flags