allow payload callback, allow boot status
This commit is contained in:
parent
ffe55fd978
commit
810c2794f1
5 changed files with 48 additions and 2 deletions
|
@ -871,4 +871,16 @@ void InternalDisplay::handleACStateChange(uint8_t mode, uint8_t fan_speed, uint8
|
|||
this->sendStopBytes();
|
||||
// Update the AC state
|
||||
this->refreshAC();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Set the boot status text
|
||||
*
|
||||
* @param text The text to set
|
||||
*/
|
||||
void InternalDisplay::setBootStatus(const char *text) {
|
||||
this->displayAdapter->print("boot_state.txt=\"");
|
||||
this->displayAdapter->print(text);
|
||||
this->displayAdapter->print("\"");
|
||||
this->sendStopBytes();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue