Skip to content

Commit f9c4952

Browse files
committed
Fix defines for S+ and X when BAGL is used
1 parent bd6b2a4 commit f9c4952

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

ledger_secure_sdk_sys/build.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ impl SDKBuilder<'_> {
148148
println!("cargo:warning=BAGL is built");
149149
println!("cargo:rustc-env=C_SDK_GRAPHICS={}", "bagl");
150150
v.push((String::from("HAVE_BAGL"), None));
151+
v.push((String::from("HAVE_UX_FLOW"), None));
151152
}
152153
v
153154
},
@@ -181,6 +182,7 @@ impl SDKBuilder<'_> {
181182
println!("cargo:warning=BAGL is built");
182183
println!("cargo:rustc-env=C_SDK_GRAPHICS={}", "bagl");
183184
v.push((String::from("HAVE_BAGL"), None));
185+
v.push((String::from("HAVE_UX_FLOW"), None));
184186
}
185187
v
186188
},

ledger_secure_sdk_sys/c_sdk_build_nanosplus.defines

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@
2323
#define HAVE_BAGL_FONT_OPEN_SANS_EXTRABOLD_11PX
2424
#define HAVE_BAGL_FONT_OPEN_SANS_LIGHT_16PX
2525
#define SCREEN_SIZE_NANO
26-
#define HAVE_NBGL
27-
#define NBGL_STEP
28-
#define NBGL_USE_CASE
2926
#define OS_IO_SEPH_BUFFER_SIZE 272
3027
#define HAVE_SE_SCREEN
3128
#define HAVE_SE_BUTTON

ledger_secure_sdk_sys/c_sdk_build_nanox.defines

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@
2727
#define HAVE_BAGL_FONT_OPEN_SANS_EXTRABOLD_11PX
2828
#define HAVE_BAGL_FONT_OPEN_SANS_LIGHT_16PX
2929
#define SCREEN_SIZE_NANO
30-
#define HAVE_NBGL
31-
#define NBGL_STEP
32-
#define NBGL_USE_CASE
3330
#define OS_IO_SEPH_BUFFER_SIZE 272
3431
#define HAVE_SE_SCREEN
3532
#define HAVE_SE_BUTTON

0 commit comments

Comments
 (0)