mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-13 06:27:15 +02:00
0.7.62
fix compile (prometheus)
This commit is contained in:
parent
41ade24538
commit
169eea73e6
4 changed files with 14 additions and 16 deletions
|
@ -36,10 +36,9 @@ class RestApi {
|
|||
public:
|
||||
RestApi() {
|
||||
mTimezoneOffset = 0;
|
||||
mHeapFree = 0;
|
||||
mHeapFreeBlk = 0;
|
||||
mHeapFrag = 0;
|
||||
nr = 0;
|
||||
mHeapFree = 0;
|
||||
mHeapFreeBlk = 0;
|
||||
mHeapFrag = 0;
|
||||
}
|
||||
|
||||
void setup(IApp *app, HMSYSTEM *sys, AsyncWebServer *srv, settings_t *config) {
|
||||
|
@ -63,9 +62,6 @@ class RestApi {
|
|||
}
|
||||
|
||||
void ctrlRequest(JsonObject obj) {
|
||||
/*char out[128];
|
||||
serializeJson(obj, out, 128);
|
||||
DPRINTLN(DBG_INFO, "RestApi: " + String(out));*/
|
||||
DynamicJsonDocument json(128);
|
||||
JsonObject dummy = json.as<JsonObject>();
|
||||
if(obj[F("path")] == "ctrl")
|
||||
|
@ -726,7 +722,6 @@ class RestApi {
|
|||
uint32_t mTimezoneOffset;
|
||||
uint32_t mHeapFree, mHeapFreeBlk;
|
||||
uint8_t mHeapFrag;
|
||||
uint16_t nr;
|
||||
};
|
||||
|
||||
#endif /*__WEB_API_H__*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue