diff --git a/core/embed/gfx/fonts/fonts.c b/core/embed/gfx/fonts/fonts.c index b2b5b67021..446a8bfe24 100644 --- a/core/embed/gfx/fonts/fonts.c +++ b/core/embed/gfx/fonts/fonts.c @@ -20,9 +20,6 @@ #include #include "fonts.h" -#ifdef TRANSLATIONS -#include "librust_fonts.h" -#endif // include selectively based on the SCons variables #ifdef TREZOR_FONT_NORMAL_ENABLE diff --git a/core/embed/gfx/fonts/fonts.h b/core/embed/gfx/fonts/fonts.h index 9fc1919764..caad39101b 100644 --- a/core/embed/gfx/fonts/fonts.h +++ b/core/embed/gfx/fonts/fonts.h @@ -21,7 +21,7 @@ #define _FONTS_H #include -#include +#include #include "font_bitmap.h" #ifdef USE_RGB_COLORS diff --git a/core/embed/rust/librust_fonts.h b/core/embed/rust/librust_fonts.h deleted file mode 100644 index 17249c4b1b..0000000000 --- a/core/embed/rust/librust_fonts.h +++ /dev/null @@ -1 +0,0 @@ -const uint8_t *get_utf8_glyph(uint16_t char_code, int font); diff --git a/core/embed/upymod/rustmods.c b/core/embed/upymod/rustmods.c index 2673bceb55..128c06ecb6 100644 --- a/core/embed/upymod/rustmods.c +++ b/core/embed/upymod/rustmods.c @@ -18,7 +18,6 @@ */ #include "librust.h" -#include "librust_fonts.h" #include "py/runtime.h" #if MICROPY_PY_TREZORUI2