1
0
Fork 0
forked from len0rd/rockbox

usb-drv-as3525: build with LOGF_ENABLE undefined

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26902 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2010-06-18 01:47:24 +00:00
parent 5f87334d4f
commit b43e15fe57

View file

@ -29,7 +29,6 @@
#include <stdbool.h>
#include "panic.h"
/*#define LOGF_ENABLE*/
#define LOGF_ENABLE
#include "logf.h"
#include "usb_ch9.h"
#include "usb_core.h"
@ -834,8 +833,10 @@ static void handle_out_ep(int ep)
if (ep_sts & USB_EP_STAT_OUT_RCVD) {
int dma_sts = uc_desc->status;
int dma_len = dma_sts & 0xffff;
#ifdef LOGF_ENABLE
int dma_frm = (dma_sts >> 16) & 0x7ff;
int dma_mst = dma_sts & 0xf8000000;
#endif
if (!(dma_sts & USB_DMA_DESC_ZERO_LEN)) {
logf("EP%d OUT token, st:%08x len:%d frm:%x data=%s epstate=%d\n", ep,