Rename -> Inst. Cluster (user); power manager: deep sleep on link silence, wake on IO1 or 60 s probe boot; Ota::isBusy; sleep bit in shared header
Firmware / build (push) Successful in 2m59s
Firmware / build (push) Successful in 2m59s
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* ota_update.cpp (Controller B) - see ota_update.h.
|
||||
* ota_update.cpp (Inst. Cluster) - see ota_update.h.
|
||||
*
|
||||
* Flow of an install:
|
||||
* 1. gate: parked (link data), credentials present
|
||||
@@ -545,6 +545,10 @@ static void help() {
|
||||
// ---- public ----------------------------------------------------------------
|
||||
const char* version() { return FW_VERSION; }
|
||||
|
||||
bool isBusy() {
|
||||
return g_job != JOB_NONE || g_phase == LINK_OTA_CHECKING || g_phase == LINK_OTA_INSTALLING;
|
||||
}
|
||||
|
||||
void onLinkCommand(uint8_t cmd, uint8_t flags) {
|
||||
char why[96];
|
||||
bool ok = false;
|
||||
|
||||
Reference in New Issue
Block a user