Fix compilation error with register debug off
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2207 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
ef96b697d0
commit
146a21e630
@ -614,6 +614,7 @@ static void stm32_putreg(uint16 val, uint32 addr)
|
|||||||
* Name: stm32_dumpep
|
* Name: stm32_dumpep
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#if defined(CONFIG_STM32_USBDEV_REGDEBUG) && defined(CONFIG_DEBUG)
|
||||||
static void stm32_dumpep(int epno)
|
static void stm32_dumpep(int epno)
|
||||||
{
|
{
|
||||||
uint32 addr;
|
uint32 addr;
|
||||||
@ -650,6 +651,7 @@ static void stm32_dumpep(int epno)
|
|||||||
addr = STM32_USB_COUNT_RX(epno);
|
addr = STM32_USB_COUNT_RX(epno);
|
||||||
lldbg(" COUNT: [%08x] %04x\n", addr, getreg16(addr));
|
lldbg(" COUNT: [%08x] %04x\n", addr, getreg16(addr));
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: stm32_checksetup
|
* Name: stm32_checksetup
|
||||||
|
Loading…
Reference in New Issue
Block a user