diff --git a/Makefile b/Makefile index 95d0c303..1abeaf5f 100644 --- a/Makefile +++ b/Makefile @@ -230,7 +230,6 @@ DEFINES += LEDGER_MAJOR_VERSION=$(APPVERSION_M) LEDGER_MINOR_VERSION=$(APPVERS #DEFINES += HAVE_WEBUSB WEBUSB_URL_SIZE_B=$(shell echo -n $(WEBUSB_URL) | wc -c) WEBUSB_URL=$(shell echo -n $(WEBUSB_URL) | sed -e "s/./\\\'\0\\\',/g") DEFINES += HAVE_WEBUSB WEBUSB_URL_SIZE_B=0 WEBUSB_URL="" -DEFINES += UNUSED\(x\)=\(void\)x DEFINES += APPVERSION=\"$(APPVERSION)\" DEFINES += BLAKE_SDK diff --git a/src/main.c b/src/main.c index 4e0959d4..9f7ac4d6 100644 --- a/src/main.c +++ b/src/main.c @@ -605,7 +605,6 @@ struct libargs_s { }; static void library_main_helper(struct libargs_s *args) { - check_api_level(CX_COMPAT_APILEVEL); PRINTF("Inside a library \n"); switch (args->command) { case CHECK_ADDRESS: @@ -665,7 +664,6 @@ __attribute__((section(".boot"))) int main(int arg0) { btchip_altcoin_config_t coin_config; init_coin_config(&coin_config); PRINTF("Hello from litecoin\n"); - check_api_level(CX_COMPAT_APILEVEL); // delegate to bitcoin app/lib libcall_params[0] = "Bitcoin Legacy"; libcall_params[1] = 0x100;