- put ATTR_UNUSED to hardfault handler variables to discard compiler warning
- change host_class_driver_t: open_subtask signature to accept tusb_descriptor_interface_t const * instead of uint8_t*
This commit is contained in:
@@ -72,7 +72,7 @@ typedef enum pipe_status_{
|
||||
|
||||
typedef struct {
|
||||
void (* const init) (void);
|
||||
tusb_error_t (* const open_subtask)(uint8_t, uint8_t const *, uint16_t*);
|
||||
tusb_error_t (* const open_subtask)(uint8_t, tusb_descriptor_interface_t const *, uint16_t*);
|
||||
void (* const isr) (pipe_handle_t, tusb_bus_event_t);
|
||||
void (* const close) (uint8_t);
|
||||
} host_class_driver_t;
|
||||
|
||||
Reference in New Issue
Block a user