mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-12-23 17:09:34 +02:00
atusb/fw/usb/: corrected type of user-provided descriptor
- usb.h, usb.c (user_get_descriptor): "reply" is simply "const uint8_t *", not "const uint8_t * const *"
This commit is contained in:
parent
a60fb1e26d
commit
0293911fed
@ -37,7 +37,7 @@ extern void panic(void);
|
||||
|
||||
int (*user_setup)(const struct setup_request *setup);
|
||||
int (*user_get_descriptor)(uint8_t type, uint8_t index,
|
||||
const uint8_t * const *reply, uint8_t *size);
|
||||
const uint8_t **reply, uint8_t *size);
|
||||
void (*user_reset)(void);
|
||||
|
||||
|
||||
|
@ -126,7 +126,7 @@ extern struct ep_descr eps[];
|
||||
|
||||
extern int (*user_setup)(const struct setup_request *setup);
|
||||
extern int (*user_get_descriptor)(uint8_t type, uint8_t index,
|
||||
const uint8_t * const *reply, uint8_t *size);
|
||||
const uint8_t **reply, uint8_t *size);
|
||||
extern void (*user_reset)(void);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user