This led to the effect that e.g. the confirmation messages where not shown. It is somehow related to ESPAsyncWebServer 3.3.0
19 lines
319 B
C++
19 lines
319 B
C++
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
#pragma once
|
|
|
|
#include <TaskSchedulerDeclarations.h>
|
|
|
|
class RestartHelperClass {
|
|
public:
|
|
RestartHelperClass();
|
|
void init(Scheduler& scheduler);
|
|
void triggerRestart();
|
|
|
|
private:
|
|
void loop();
|
|
|
|
Task _rebootTask;
|
|
};
|
|
|
|
extern RestartHelperClass RestartHelper;
|