self powered and remote wakeup support are from configuration descriptor attribute

This commit is contained in:
hathach
2019-03-30 17:38:00 +07:00
parent ee6ed084f4
commit f3a954e7de
4 changed files with 22 additions and 30 deletions

View File

@@ -66,9 +66,6 @@ void tud_task (void);
// Check if device is connected and configured
bool tud_mounted(void);
// Tell stack that device is self or bus powered (default = bus)
void tud_set_self_powered(bool self_powered);
// Remote wake up host, only if suspended and enabled by host
bool tud_remote_wakeup(void);