added tud_set_self_powered(), fix #50 reponse to GET_STATUS request

This commit is contained in:
hathach
2019-03-30 14:34:38 +07:00
parent d9682f8240
commit cabf6abb4f
2 changed files with 59 additions and 52 deletions

View File

@@ -63,6 +63,7 @@ bool tud_mounted(void);
void tud_task (void);
bool tud_remote_wakeup(void);
void tud_set_self_powered(bool self_powered);
//--------------------------------------------------------------------+
// Application Callbacks (WEAK is optional)