mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-23 23:03:06 +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
558d52fa9b
commit
dc72966aca
7 files changed
+24
-17
No files matched your search
+3
-2
@@ -1,12 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#include <Arduino.h>
|
||||
#include <cmath>
|
||||
#include <stdio.h>
|
||||
#include <string>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
||||
#include <cmath>
|
||||
#include <string>
|
||||
|
||||
#include "types.h"
|
||||
|
||||
inline std::string getChipId(const char* prefix = nullptr, const char* suffix = nullptr) {
|
||||
|
||||
Reference in new issue
Block a user