mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-20 06:28:09 +00:00
fix(core): fix TT bootloader emulator backlight, fix rust warning
[no changelog]
This commit is contained in:
parent
03693ff8c3
commit
40b5fedbd2
@ -230,6 +230,7 @@ def cargo_build():
|
||||
|
||||
if TREZOR_MODEL in ('T',):
|
||||
features.append('touch')
|
||||
features.append('backlight')
|
||||
if TREZOR_MODEL in ('R', '1'):
|
||||
features.append('button')
|
||||
|
||||
|
@ -23,9 +23,11 @@ use crate::ui::component::image::Image;
|
||||
#[cfg(not(feature = "dma2d"))]
|
||||
use crate::ui::geometry::Alignment2D;
|
||||
|
||||
#[cfg(feature = "backlight")]
|
||||
use crate::{time::Duration, trezorhal::time};
|
||||
|
||||
use crate::{
|
||||
time::Duration,
|
||||
trezorhal::{buffers, display, time, uzlib::UzlibContext},
|
||||
trezorhal::{buffers, display, uzlib::UzlibContext},
|
||||
ui::lerp::Lerp,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user