1
0
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:
Werner Almesberger 2011-03-08 18:56:52 -03:00
parent a60fb1e26d
commit 0293911fed
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);