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"