From 9b718122f98335fe839a9135e870499c3276a774 Mon Sep 17 00:00:00 2001 From: obrusvit Date: Wed, 18 Sep 2024 13:36:18 +0200 Subject: [PATCH] chore(core): remove unused constants [no changelog] --- core/embed/lib/buffers.c | 3 --- core/embed/lib/buffers.h | 3 --- 2 files changed, 6 deletions(-) diff --git a/core/embed/lib/buffers.c b/core/embed/lib/buffers.c index cbf53a322..ee9ab114e 100644 --- a/core/embed/lib/buffers.c +++ b/core/embed/lib/buffers.c @@ -22,9 +22,6 @@ #include "fonts/fonts.h" #include "memzero.h" -const int32_t text_buffer_height = FONT_MAX_HEIGHT; -const int32_t buffer_width = DISPLAY_RESX; - #define CONCAT_(a, b) a##b #define CONCAT(a, b) CONCAT_(a, b) diff --git a/core/embed/lib/buffers.h b/core/embed/lib/buffers.h index 03d00a79e..37f5fa270 100644 --- a/core/embed/lib/buffers.h +++ b/core/embed/lib/buffers.h @@ -85,9 +85,6 @@ typedef __attribute__((aligned(4))) struct { uint16_t buffer[3][BUFFER_PIXELS]; } buffer_blurring_totals_t; -extern const int32_t text_buffer_height; -extern const int32_t buffer_width; - buffer_line_16bpp_t* buffers_get_line_16bpp(bool clear); void buffers_free_line_16bpp(buffer_line_16bpp_t* buffer);