mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-25 20:26:41 +00:00
Changed haspReset function
This commit is contained in:
parent
04209589a1
commit
a0a5ecdf96
@ -1039,7 +1039,7 @@ static void roller_event_handler(lv_obj_t * obj, lv_event_t event)
|
|||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
void haspReset(bool write_config)
|
void haspReboot(bool write_config)
|
||||||
{
|
{
|
||||||
mqttStop(); // Stop the MQTT Client first
|
mqttStop(); // Stop the MQTT Client first
|
||||||
if(write_config) configWriteConfig();
|
if(write_config) configWriteConfig();
|
||||||
|
@ -77,7 +77,7 @@ void haspSetNodename(String name);
|
|||||||
String haspGetNodename();
|
String haspGetNodename();
|
||||||
float haspGetVersion();
|
float haspGetVersion();
|
||||||
void haspBackground(uint16_t pageid, uint16_t imageid);
|
void haspBackground(uint16_t pageid, uint16_t imageid);
|
||||||
void haspReset(bool write_config);
|
void haspReboot(bool write_config);
|
||||||
|
|
||||||
void haspSetLabelText(String value);
|
void haspSetLabelText(String value);
|
||||||
void haspProcessAttribute(uint8_t pageid, uint8_t objid, String strAttr, String strPayload);
|
void haspProcessAttribute(uint8_t pageid, uint8_t objid, String strAttr, String strPayload);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user