Skip to content

Commit

Permalink
Merge pull request #205 from LedgerHQ/y333_241017/fix_new_C_SDK
Browse files Browse the repository at this point in the history
Y333 241017/fix new c sdk
  • Loading branch information
yogh333 authored Oct 18, 2024
2 parents bc52315 + 5fd42ab commit 4a0f8f2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 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.17.4"
version = "1.17.5"
authors = ["yhql", "yogh333", "agrojean-ledger", "kingofpayne"]
edition = "2021"
license.workspace = true
Expand Down
6 changes: 6 additions & 0 deletions ledger_device_sdk/src/nbgl/nbgl_home_and_settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@ impl<'a> NbglHomeAndSettings {
infoTypes: INFO_FIELDS.as_ptr(),
infoContents: self.info_contents_ptr[..].as_ptr(),
nbInfos: INFO_FIELDS.len() as u8,
infoExtensions: core::ptr::null(),
token: 0,
withExtensions: false,
};

for (i, setting) in self.setting_contents.iter().enumerate() {
Expand Down Expand Up @@ -242,6 +245,9 @@ impl<'a> NbglHomeAndSettings {
infoTypes: INFO_FIELDS.as_ptr(),
infoContents: self.info_contents_ptr[..].as_ptr(),
nbInfos: INFO_FIELDS.len() as u8,
infoExtensions: core::ptr::null(),
token: 0,
withExtensions: false,
};

for (i, setting) in self.setting_contents.iter().enumerate() {
Expand Down

0 comments on commit 4a0f8f2

Please sign in to comment.