From 20c020ecf66d09e73c18174f12e04bb406eea7e8 Mon Sep 17 00:00:00 2001 From: BTChip github Date: Thu, 21 Nov 2019 18:51:04 +0100 Subject: [PATCH] Fix compile on 1.6.0-og --- src/ui_nano_s.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui_nano_s.c b/src/ui_nano_s.c index 24720c11..6bb28fa8 100644 --- a/src/ui_nano_s.c +++ b/src/ui_nano_s.c @@ -229,7 +229,8 @@ void ui_display(const bagl_element_t *elems, size_t sz, ui_callback_t ok_c, ui_c if (!is_idling()) { switch_screen(0); } -#if CX_APILEVEL < 10 +//#if CX_APILEVEL < 10 +#if 1 ux.elements = elems; ux.elements_count = sz; ux.button_push_handler = button_handler;