Skip to content

Commit 4a0f8f2

Browse files
authored
Merge pull request #205 from LedgerHQ/y333_241017/fix_new_C_SDK
Y333 241017/fix new c sdk
2 parents bc52315 + 5fd42ab commit 4a0f8f2

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ledger_device_sdk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ledger_device_sdk"
3-
version = "1.17.4"
3+
version = "1.17.5"
44
authors = ["yhql", "yogh333", "agrojean-ledger", "kingofpayne"]
55
edition = "2021"
66
license.workspace = true

ledger_device_sdk/src/nbgl/nbgl_home_and_settings.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@ impl<'a> NbglHomeAndSettings {
161161
infoTypes: INFO_FIELDS.as_ptr(),
162162
infoContents: self.info_contents_ptr[..].as_ptr(),
163163
nbInfos: INFO_FIELDS.len() as u8,
164+
infoExtensions: core::ptr::null(),
165+
token: 0,
166+
withExtensions: false,
164167
};
165168

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

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

0 commit comments

Comments
 (0)