Skip to content

Commit

Permalink
Merge pull request #820 from LedgerHQ/abo_update_api_level_22
Browse files Browse the repository at this point in the history
nanox: fix inactivity shutdown issue.
  • Loading branch information
abonnaudet-ledger authored Nov 8, 2024
2 parents 9682d35 + ec96367 commit 598aafa
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 598aafa

Please sign in to comment.