From e2fb4ecd5c6395ec6bf6524cc4a54ad878a15b13 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Wed, 3 Jul 2024 14:49:51 -0400 Subject: xduoox3: Completely strip USB support out of the bootloader. Change-Id: I7167e051a56a3be3c285c209b1c8fca7de251b09 --- firmware/export/config/xduoox3.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'firmware/export/config/xduoox3.h') diff --git a/firmware/export/config/xduoox3.h b/firmware/export/config/xduoox3.h index 46e1a61712..0d413ad372 100644 --- a/firmware/export/config/xduoox3.h +++ b/firmware/export/config/xduoox3.h @@ -174,6 +174,7 @@ /* Type of LCD */ #define CONFIG_LCD LCD_XDUOOX3 +#ifndef BOOTLOADER /* USB On-the-go */ #define CONFIG_USBOTG USBOTG_JZ4760 @@ -189,6 +190,7 @@ #define USB_NUM_ENDPOINTS 3 #define USB_DEVBSS_ATTR IBSS_ATTR +#endif /* !BOOTLOADER */ #define BOOTFILE_EXT "x3" #define BOOTFILE "rockbox." BOOTFILE_EXT @@ -198,7 +200,7 @@ #define ICODE_ATTR_TREMOR_NOT_MDCT -#endif /* SIMULATOR */ +#endif /* !SIMULATOR */ /** Port-specific settings **/ -- cgit v1.2.3