mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-13 23:16:55 +03:00
#ifndef in *.h + #pragma once (#1639)
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef SERVEROTA_H
|
||||
#define SERVEROTA_H
|
||||
|
||||
#include <esp_log.h>
|
||||
|
||||
#include <esp_http_server.h>
|
||||
@@ -10,4 +15,6 @@ void CheckOTAUpdate();
|
||||
void doReboot();
|
||||
void hard_restart();
|
||||
void CheckUpdate();
|
||||
static bool ota_update_task(std::string fn);
|
||||
static bool ota_update_task(std::string fn);
|
||||
|
||||
#endif //SERVEROTA_H
|
||||
Reference in New Issue
Block a user