STM32 L4 USB OTGFS: Remove dumpbuffer feature added in the last commit. I don't want in features that cannot be controlled be via Kconfig files and I do not accept debug code in the upstream GIT. My mistake for merging it in the first place.

This commit is contained in:
Gregory Nutt 2017-11-22 13:25:51 -06:00
parent b8f38fd3de
commit cbfaca8a14
1 changed files with 0 additions and 17 deletions

View File

@ -336,19 +336,6 @@
#define STM32L4_TRACEINTID_SETUPDONE (90 + 3)
#define STM32L4_TRACEINTID_SETUPRECVD (90 + 4)
/* CONFIG_USB_DUMPBUFFER will dump the contents of buffers to the console. */
#define CONFIG_USB_DUMPBUFFER
#if !defined(CONFIG_DEBUG_INFO) || !defined(CONFIG_DEBUG_FEATURES)
# undef CONFIG_USB_DUMPBUFFER
#endif
#ifdef CONFIG_USB_DUMPBUFFER
# define usb_dumpbuffer(t,b,l) lib_dumpbuffer(t,b,l)
#else
# define usb_dumpbuffer(t,b,l)
#endif
/* Endpoints ******************************************************************/
/* Odd physical endpoint numbers are IN; even are OUT */
@ -1145,8 +1132,6 @@ static void stm32l4_txfifo_write(FAR struct stm32l4_ep_s *privep,
int nwords;
int i;
usb_dumpbuffer(">>>",buf,nbytes);
/* Convert the number of bytes to words */
nwords = (nbytes + 3) >> 2;
@ -1535,8 +1520,6 @@ static void stm32l4_rxfifo_read(FAR struct stm32l4_ep_s *privep,
*dest++ = data.b[2];
*dest++ = data.b[3];
}
usb_dumpbuffer("<<<",dest-len,len);
}
/****************************************************************************