Skip to content

Commit c87abde

Browse files
[io]: forward all MCU events to OS UX by default.
1 parent 750c620 commit c87abde

File tree

1 file changed

+5
-1
lines changed
  • ledger_device_sdk/src

1 file changed

+5
-1
lines changed

ledger_device_sdk/src/io.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,10 +409,14 @@ impl Comm {
409409

410410
// DEFAULT EVENT
411411
_ => {
412-
#[cfg(any(target_os = "stax", target_os = "flex"))]
412+
#[cfg(any(target_os = "stax", target_os = "flex", feature = "nano_nbgl"))]
413413
unsafe {
414414
ux_process_default_event();
415415
}
416+
#[cfg(any(target_os = "nanox", target_os = "nanosplus"))]
417+
if !cfg!(feature = "nano_nbgl") {
418+
crate::uxapp::UxEvent::Event.request();
419+
}
416420
}
417421
}
418422
None

0 commit comments

Comments
 (0)