mirror of
https://github.com/palera1n/palera1n.git
synced 2026-12-05 07:44:36 +01:00
improve pongo usb
This commit is contained in:
1 parent
b07c28334b
commit
40b8c0e42f
6 files changed
+116
-61
No files matched your search
+4
-1
@@ -18,7 +18,8 @@ typedef enum {
|
||||
LOG_ERROR = 1,
|
||||
LOG_WARNING = 2,
|
||||
LOG_INFO = 3,
|
||||
LOG_VERBOSE = 4
|
||||
LOG_VERBOSE = 4,
|
||||
LOG_VERBOSE2 = 5
|
||||
} log_level_t;
|
||||
|
||||
typedef struct {
|
||||
@@ -75,4 +76,6 @@ usb_ret_t USBControlTransfer(usb_device_handle_t handle, uint8_t bmRequestType,
|
||||
usb_ret_t USBBulkUpload(usb_device_handle_t handle, void *data, uint32_t len);
|
||||
const char *usb_strerror(usb_ret_t err);
|
||||
int wait_for_pongo();
|
||||
int issue_pongo_command();
|
||||
int upload_pongo_file();
|
||||
#endif
|
||||
Reference in new issue
Block a user