Skip to content

Commit

Permalink
nanox: fix inactivity shutdown issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephane Portron committed Nov 7, 2024
1 parent 35d1830 commit 1f6bc24
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lib_nbgl/src/nbgl_step.c
Original file line number Diff line number Diff line change
Expand Up @@ -526,9 +526,12 @@ nbgl_step_t nbgl_stepDrawCenteredInfo(nbgl_stepPosition_t pos,
// initialize context (already set to 0 by getFreeContext())
ctx->textContext.onActionCallback = onActionCallback;
if (ticker) {
ctx->ticker.tickerCallback = ticker->tickerCallback;
ctx->ticker.tickerIntervale = ticker->tickerIntervale;
ctx->ticker.tickerValue = ticker->tickerValue;
ctx->ticker.tickerCallback = ticker->tickerCallback;
ctx->ticker.tickerIntervale = ticker->tickerIntervale;
ctx->ticker.tickerValue = ticker->tickerValue;
layoutDescription.ticker.tickerCallback = ticker->tickerCallback;
layoutDescription.ticker.tickerIntervale = ticker->tickerIntervale;
layoutDescription.ticker.tickerValue = ticker->tickerValue;
}

ctx->textContext.nbPages = 1;
Expand Down

0 comments on commit 1f6bc24

Please sign in to comment.