mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-17 21:22:10 +00:00
fix(core): backlight on frozen emulator
[no changelog]
This commit is contained in:
parent
671f23f1aa
commit
edcdb97613
@ -694,7 +694,7 @@ if FROZEN:
|
||||
source=SOURCE_PY,
|
||||
source_dir=SOURCE_PY_DIR,
|
||||
bitcoin_only=BITCOIN_ONLY,
|
||||
backlight='backlight' in TREZOR_MODEL in ('T',)
|
||||
backlight=TREZOR_MODEL in ('T',)
|
||||
)
|
||||
|
||||
source_mpyc = env.FrozenCFile(
|
||||
|
@ -291,7 +291,7 @@ STATIC const mp_rom_map_elem_t mp_module_trezorutils_globals_table[] = {
|
||||
#else
|
||||
{MP_ROM_QSTR(MP_QSTR_USE_SD_CARD), mp_const_false},
|
||||
#endif
|
||||
#ifdef USE_SD_CARD
|
||||
#ifdef USE_BACKLIGHT
|
||||
{MP_ROM_QSTR(MP_QSTR_USE_BACKLIGHT), mp_const_true},
|
||||
#else
|
||||
{MP_ROM_QSTR(MP_QSTR_USE_BACKLIGHT), mp_const_false},
|
||||
|
Loading…
Reference in New Issue
Block a user