From e0bd0fdc9989e5b40f312009c678e59dd836e462 Mon Sep 17 00:00:00 2001 From: Sarah GLINER Date: Tue, 21 Nov 2023 16:57:43 +0100 Subject: [PATCH] Makefile: Remove useless UI_NANO_SX define --- Makefile | 4 +--- src/monero_ux_nano.c | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index f33a669..cd673cc 100644 --- a/Makefile +++ b/Makefile @@ -68,9 +68,7 @@ DEFINES += SPEC_VERSION=$(SPECVERSION) #DEFINES += MONERO_BETA -ifeq ($(TARGET_NAME),$(filter $(TARGET_NAME),TARGET_NANOS TARGET_NANOS2)) -DEFINES += UI_NANO_SX -else ifeq ($(TARGET_NAME),TARGET_NANOX) +ifeq ($(TARGET_NAME),TARGET_NANOX) DEFINES += UI_NANO_X else ifeq ($(TARGET_NAME),TARGET_STAX) DEFINES += UI_STAX diff --git a/src/monero_ux_nano.c b/src/monero_ux_nano.c index 1a552e0..85ce48c 100644 --- a/src/monero_ux_nano.c +++ b/src/monero_ux_nano.c @@ -16,7 +16,7 @@ * limitations under the License. *****************************************************************************/ -#if defined(UI_NANO_X) || defined(UI_NANO_SX) +#ifdef HAVE_BAGL #include "os.h" #include "cx.h"