set data_p->addr=NULL

This commit is contained in:
NIIBE Yutaka
2012-05-22 16:37:30 +09:00
parent b202f95376
commit 244cdbff3f
2 changed files with 3 additions and 0 deletions

View File

@@ -7,4 +7,6 @@ typedef unsigned int uint32_t;
#define TRUE 1 #define TRUE 1
#define FALSE 0 #define FALSE 0
#define NULL 0
#define __IO volatile #define __IO volatile

View File

@@ -839,6 +839,7 @@ static void handle_setup0 (void)
pw++; pw++;
ctrl_p->wLength = *pw; ctrl_p->wLength = *pw;
data_p->addr = NULL;
data_p->len = 0; data_p->len = 0;
data_p->offset = 0; data_p->offset = 0;