diff options
author | Martino Facchin <m.facchin@arduino.cc> | 2016-07-14 18:43:43 +0200 |
---|---|---|
committer | Martino Facchin <m.facchin@arduino.cc> | 2016-07-14 18:43:43 +0200 |
commit | 7874386ce23a7b7383f587e6bf6ae665756024ba (patch) | |
tree | 169935a7c74be6eb0835c18a075f590119ab356f /firmwares/wifishield/wifiHD/src/SOFTWARE_FRAMEWORK/SERVICES/LWIP/lwip-1.3.2 | |
parent | 5e146c415d4b3e9006e21a94428a86320316aaf2 (diff) |
Send an USB remote wakeup if data need to be written
On Linux, setting autosuspend_delay_ms to N and control to auto allows the host pc to suspend the peripheral. Some Linux distro (Ubuntu, Mint) apply this behaviour by default.
If the sketch's prints where less frequent than N milliseconds the sketch prints would never arrive.
This patch allows sending a remote wakeup event to unsuspend the peripheral and allow the serial prints to be received.
Diffstat (limited to 'firmwares/wifishield/wifiHD/src/SOFTWARE_FRAMEWORK/SERVICES/LWIP/lwip-1.3.2')
0 files changed, 0 insertions, 0 deletions