From 5aca8eb16b109cf04dbec6347e7d5f24938c9a55 Mon Sep 17 00:00:00 2001 From: krigga Date: Mon, 20 Nov 2023 18:51:04 +0300 Subject: [PATCH] chore: remove UNUSED define --- .vscode/c_cpp_properties.json | 2 -- Makefile | 1 - 2 files changed, 3 deletions(-) diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index 072c350..2edd0a1 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -23,7 +23,6 @@ "IO_HID_EP_LENGTH=64", "HAVE_USB_APDU", "USB_SEGMENT_SIZE=64", - "UNUSED(x)=(void)x", "APPVERSION=\"1.0.0\"", "APPNAME=\"TON\"", "MAJOR_VERSION=1", @@ -68,7 +67,6 @@ "IO_HID_EP_LENGTH=64", "HAVE_USB_APDU", "USB_SEGMENT_SIZE=64", - "UNUSED(x)=(void)x", "APPVERSION=\"1.0.0\"", "APPNAME=\"TON\"", "MAJOR_VERSION=1", diff --git a/Makefile b/Makefile index 58875a5..7e6b906 100644 --- a/Makefile +++ b/Makefile @@ -60,7 +60,6 @@ DEFINES += HAVE_IO_USB HAVE_L4_USBLIB IO_USB_MAX_ENDPOINTS=6 IO_HID_EP_LENGTH=64 DEFINES += USB_SEGMENT_SIZE=64 DEFINES += BLE_SEGMENT_SIZE=32 DEFINES += HAVE_WEBUSB WEBUSB_URL_SIZE_B=0 WEBUSB_URL="" -DEFINES += UNUSED\(x\)=\(void\)x ifeq ($(TARGET_NAME),$(filter $(TARGET_NAME),TARGET_NANOX TARGET_STAX)) DEFINES += HAVE_BLE BLE_COMMAND_TIMEOUT_MS=2000 HAVE_BLE_APDU