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:
patacongo 2009-11-01 20:13:47 +00:00
parent ef96b697d0
commit 146a21e630

View File

@ -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