diff --git a/Cargo.lock b/Cargo.lock index ee45ca7e..46708f39 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -296,7 +296,7 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "ledger_device_sdk" -version = "1.8.1" +version = "1.8.2" dependencies = [ "include_gif", "ledger_device_sdk", diff --git a/ledger_device_sdk/Cargo.toml b/ledger_device_sdk/Cargo.toml index dfd44f46..3e6ed1cc 100644 --- a/ledger_device_sdk/Cargo.toml +++ b/ledger_device_sdk/Cargo.toml @@ -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 diff --git a/ledger_device_sdk/src/ui/bagls/se.rs b/ledger_device_sdk/src/ui/bagls/se.rs index 86a87238..acba4a79 100644 --- a/ledger_device_sdk/src/ui/bagls/se.rs +++ b/ledger_device_sdk/src/ui/bagls/se.rs @@ -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, @@ -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, - ) + ); } }