diff options
Diffstat (limited to 'nuttx/arch/arm/src/stm32')
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_usbdev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_usbdev.c b/nuttx/arch/arm/src/stm32/stm32_usbdev.c index 0a090d9ca..0ee59badf 100644 --- a/nuttx/arch/arm/src/stm32/stm32_usbdev.c +++ b/nuttx/arch/arm/src/stm32/stm32_usbdev.c @@ -614,6 +614,7 @@ static void stm32_putreg(uint16 val, uint32 addr) * Name: stm32_dumpep ****************************************************************************/ +#if defined(CONFIG_STM32_USBDEV_REGDEBUG) && defined(CONFIG_DEBUG) static void stm32_dumpep(int epno) { uint32 addr; @@ -650,6 +651,7 @@ static void stm32_dumpep(int epno) addr = STM32_USB_COUNT_RX(epno); lldbg(" COUNT: [%08x] %04x\n", addr, getreg16(addr)); } +#endif /**************************************************************************** * Name: stm32_checksetup |