Changed haspReset function

This commit is contained in:
fvanroie 2020-02-01 20:04:07 +01:00
parent 04209589a1
commit a0a5ecdf96
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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);