set data_p->addr=NULL
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user