Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yogh333 committed Nov 30, 2023
1 parent a8c71e8 commit 2573506
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ledger_device_sdk/examples/gadgets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use ledger_device_sdk::ui::layout::{Layout, Location, StringPlace};
fn wait_any() {
let mut buttons = ButtonsState::new();
loop {
match ui::get_event(&mut buttons) {
match gadgets::get_event(&mut buttons) {
Some(ButtonEvent::LeftButtonRelease)
| Some(ButtonEvent::RightButtonRelease)
| Some(ButtonEvent::BothButtonsRelease) => return,
Expand Down Expand Up @@ -126,7 +126,7 @@ extern "C" fn sample_main() {
.set_x(20)
.set_y(4)
.instant_display();
ledger_device_sdk::ui::bagls::COGGLE
ledger_device_sdk::ui::bagls::COGGLE_ICON
.set_x(40)
.set_y(4)
.instant_display();
Expand Down

0 comments on commit 2573506

Please sign in to comment.