Skip to content

Commit 259946a

Browse files
authored
Merge pull request #278 from LedgerHQ/y333/fix_bitmaps
Set proper size for some BAGL bitmaps
2 parents efb12d0 + 6b1a1b8 commit 259946a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
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.24.0"
3+
version = "1.24.1"
44
authors = ["yhql", "yogh333", "agrojean-ledger", "kingofpayne"]
55
edition = "2021"
66
license.workspace = true

ledger_device_sdk/src/ui/bitmaps.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ pub static COGGLE: Glyph = Glyph {
8989
};
9090
extern "C" {
9191
/// The bitmap for the processing icon.
92-
pub static C_icon_down_bitmap: [u8; 25];
92+
pub static C_icon_down_bitmap: [u8; 4];
9393
}
9494
pub static DOWN_ARROW: Glyph = Glyph {
9595
bitmap: unsafe { &C_icon_down_bitmap },
@@ -99,7 +99,7 @@ pub static DOWN_ARROW: Glyph = Glyph {
9999
};
100100
extern "C" {
101101
/// The bitmap for the left arrow icon.
102-
pub static C_icon_left_bitmap: [u8; 25];
102+
pub static C_icon_left_bitmap: [u8; 4];
103103
}
104104
pub static LEFT_ARROW: Glyph = Glyph {
105105
bitmap: unsafe { &C_icon_left_bitmap },
@@ -109,7 +109,7 @@ pub static LEFT_ARROW: Glyph = Glyph {
109109
};
110110
extern "C" {
111111
/// The bitmap for the right arrow icon.
112-
pub static C_icon_right_bitmap: [u8; 25];
112+
pub static C_icon_right_bitmap: [u8; 4];
113113
}
114114
pub static RIGHT_ARROW: Glyph = Glyph {
115115
bitmap: unsafe { &C_icon_right_bitmap },
@@ -119,7 +119,7 @@ pub static RIGHT_ARROW: Glyph = Glyph {
119119
};
120120
extern "C" {
121121
/// The bitmap for the up arrow icon.
122-
pub static C_icon_up_bitmap: [u8; 25];
122+
pub static C_icon_up_bitmap: [u8; 4];
123123
}
124124
pub static UP_ARROW: Glyph = Glyph {
125125
bitmap: unsafe { &C_icon_up_bitmap },

0 commit comments

Comments
 (0)