Skip to content

Commit

Permalink
Merge pull request #153 from LedgerHQ/jca/fix_syscall_change_api_leve…
Browse files Browse the repository at this point in the history
…l_18

Jca/fix syscall change api level 18
  • Loading branch information
yogh333 authored Apr 14, 2024
2 parents dfa0725 + b7b6e70 commit dc93625
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ledger_device_sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ledger_device_sdk"
version = "1.8.1"
version = "1.8.2"
authors = ["yhql", "yogh333"]
edition = "2021"
license.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions ledger_device_sdk/src/ui/bagls/se.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ fn pic_draw(x: i32, y: i32, width: u32, height: u32, inverted: bool, bitmap: &[u
let inverted = [inverted as u32, !inverted as u32];
unsafe {
let pic_bmp = ledger_secure_sdk_sys::pic(bitmap.as_ptr() as *mut c_void);
ledger_secure_sdk_sys::bagl_hal_draw_bitmap_within_rect(
let _ = ledger_secure_sdk_sys::bagl_hal_draw_bitmap_within_rect(
x,
y,
width,
Expand All @@ -126,7 +126,7 @@ fn pic_draw(x: i32, y: i32, width: u32, height: u32, inverted: bool, bitmap: &[u
1,
pic_bmp as *const u8,
width * height,
)
);
}
}

Expand Down

0 comments on commit dc93625

Please sign in to comment.