From 421c34a0a2cd9c12ca21450c748efec9658147bc Mon Sep 17 00:00:00 2001 From: tychovrahe Date: Thu, 18 Apr 2024 10:06:05 +0200 Subject: [PATCH] rebase --- core/Makefile | 4 ++-- core/embed/rust/librust_qstr.h | 2 +- .../src/ui/model_tt/component/number_input_slider.rs | 10 +++++----- core/embed/rust/src/ui/model_tt/layout.rs | 2 +- core/src/all_modules.py | 2 ++ 5 files changed, 11 insertions(+), 9 deletions(-) diff --git a/core/Makefile b/core/Makefile index dba27525e..64d726435 100644 --- a/core/Makefile +++ b/core/Makefile @@ -29,8 +29,8 @@ PRODUCTION ?= 0 PYOPT ?= 1 BITCOIN_ONLY ?= 0 BOOTLOADER_QA ?= 0 -BOOTLOADER_DEVEL ?= 0 -TREZOR_MODEL ?= T +BOOTLOADER_DEVEL ?= 1 +TREZOR_MODEL ?= T3T1 TREZOR_MEMPERF ?= 0 ADDRESS_SANITIZER ?= 0 CMAKELISTS ?= 0 diff --git a/core/embed/rust/librust_qstr.h b/core/embed/rust/librust_qstr.h index 991daece7..4d0f870e6 100644 --- a/core/embed/rust/librust_qstr.h +++ b/core/embed/rust/librust_qstr.h @@ -93,7 +93,6 @@ static void _librust_qstrs(void) { MP_QSTR_bounds; MP_QSTR_button; MP_QSTR_button_event; - MP_QSTR_callback; MP_QSTR_buttons__abort; MP_QSTR_buttons__access; MP_QSTR_buttons__again; @@ -132,6 +131,7 @@ static void _librust_qstrs(void) { MP_QSTR_buttons__try_again; MP_QSTR_buttons__turn_off; MP_QSTR_buttons__turn_on; + MP_QSTR_callback; MP_QSTR_can_go_back; MP_QSTR_cancel_arrow; MP_QSTR_cancel_cross; diff --git a/core/embed/rust/src/ui/model_tt/component/number_input_slider.rs b/core/embed/rust/src/ui/model_tt/component/number_input_slider.rs index 8cc1db674..382429d6a 100644 --- a/core/embed/rust/src/ui/model_tt/component/number_input_slider.rs +++ b/core/embed/rust/src/ui/model_tt/component/number_input_slider.rs @@ -20,8 +20,8 @@ where area: Rect, callback: F, input: Child, - cancel_button: Child>, - confirm_button: Child>, + cancel_button: Child