mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-12-02 11:13:03 +05:00
style: resolve cpplint warnings in firmware sources
Place C headers before C++ headers in sensor, metrics, utility and application sources. Document the owned cache of the applied MQTT prefix and suppress runtime/string only for this variable. Preserve MQTT reconfiguration and prefix buffer cleanup. Validated with cpplint 2.0.2 over include, lib and src using CI filters.
This commit is contained in:
1 parent
97ac190bef
commit
7e6408ac75
7 files changed
+24
-17
No files matched your search
+5
-5
@@ -1,17 +1,17 @@
|
||||
#include <app.h>
|
||||
|
||||
#include <MycilaWebSerial.h>
|
||||
#include <esp_log_color.h>
|
||||
#include <esp_private/log_format.h>
|
||||
#include <esp_private/log_timestamp.h>
|
||||
#include <esp_rom_sys.h>
|
||||
#include <freertos/ringbuf.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <atomic>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <esp_log_color.h>
|
||||
#include <esp_private/log_format.h>
|
||||
#include <esp_private/log_timestamp.h>
|
||||
#include <esp_rom_sys.h>
|
||||
#include <freertos/ringbuf.h>
|
||||
|
||||
static_assert(CONFIG_LOG_VERSION == 2, "OTGateway requires an SDK built with Log v2");
|
||||
static_assert(CONFIG_LOG_DYNAMIC_LEVEL_CONTROL, "Runtime log levels require dynamic level control");
|
||||
|
||||
Reference in new issue
Block a user