stax: add UI implementation

This commit is contained in:
Clement Bouvet
2023-02-21 11:01:18 +01:00
committed by Alexandre Paillier
parent b275067f47
commit be029c642d
20 changed files with 1298 additions and 8 deletions

View File

@@ -67,7 +67,13 @@ void handle_swap_sign_transaction(chain_config_t* config) {
nvm_write((void*) &N_storage, (void*) &storage, sizeof(internalStorage_t));
}
#ifdef HAVE_BAGL
UX_INIT();
#endif // HAVE_BAGL
#ifdef HAVE_NBGL
nbgl_objInit();
#endif // HAVE_NBGL
USB_power(0);
USB_power(1);
// ui_idle();