From 4cf5fb77fe05c7f622126d876a74f329ad1f01c7 Mon Sep 17 00:00:00 2001 From: Epagris Date: Wed, 17 Apr 2024 23:40:01 +0200 Subject: [PATCH] - DEBUG printing inclusion condition added --- usb_driver.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usb_driver.c b/usb_driver.c index 772536d..ff3f808 100644 --- a/usb_driver.c +++ b/usb_driver.c @@ -30,6 +30,7 @@ static uint8_t rx_buf[USB_MAX_FS_PCKT_SIZE_NON_ISOCHRONOUS] DWORD_ALIGN; // rece // static uint8_t event_queue_mem[Q_REQ_MEM_SIZE_T(USB_EVENT_QUEUE_LENGTH, USBDRV_EventCompound)] DWORD_ALIGN; // backing memory for the event queue +#ifdef USBDBGMSG static const char *FIFO_STATUS_STR[6] = { "GLOBAL OUT NAK", "OUT DATA RECV", @@ -37,6 +38,7 @@ static const char *FIFO_STATUS_STR[6] = { "OUT SETUP CPLT", "", "OUT SETUP RECV"}; +#endif // ---------------