SensESP 3.0.1
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
button.cpp
Go to the documentation of this file.
1#include "sensesp.h"
2
4
5#include "sensesp_app.h"
6
7namespace sensesp {
8
10 ESP_LOGD(__FILENAME__, "Resetting network settings");
11 SensESPApp::get()->get_networking()->reset();
12}
13
14} // namespace sensesp
virtual void handle_long_press() override
Handle a long button press (over 1 second).
Definition button.cpp:9
static std::shared_ptr< SensESPApp > get()
Get the singleton instance of the SensESPApp.
Definition sensesp_app.h:57