Skip to content

Commit

Permalink
Show bootscreen during update
Browse files Browse the repository at this point in the history
  • Loading branch information
tuniii committed Mar 15, 2020
1 parent eb810bb commit f93e6e3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Binary file modified nextion/miniVx.HMI
Binary file not shown.
12 changes: 12 additions & 0 deletions src/display/DisplayNextion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,23 @@ void DisplayNextion::temperatureUpdateCb(TemperatureBase *temperature, boolean s
void DisplayNextion::update()
{
static uint8_t tempNavIndex = 0u;
static uint8_t updateInProgress = false;

boolean updateAllTemperatures = false;

if (this->disabled)
return;

if(gSystem->otaUpdate.isUpdateInProgress())
{
if(false == updateInProgress)
{
updateInProgress = true;
sendCommand("page boot");
}
return;
}

nexLoop(nex_listen_list);

if (wifiScanInProgress)
Expand Down

0 comments on commit f93e6e3

Please sign in to comment.