diff options
author | Gergely Nagy <algernon@keyboard.io> | 2018-12-11 00:01:57 +0100 |
---|---|---|
committer | Gergely Nagy <algernon@keyboard.io> | 2018-12-11 00:01:57 +0100 |
commit | c87bc7ba9a94cbeca3b652ea068c4bdb38c76b6c (patch) | |
tree | f0273b3438592913f5414d6d08045bd82f922c13 /bootloaders/caterina-LilyPadUSB | |
parent | 2663be17272e19f00c55f3f2d8f1ebfac47158d6 (diff) |
Add USBDevice.isSuspended()
Based on code originally by Rob van der Veer <rob.c.veer@gmail.com>, this adds
USBDevice.isSuspended(), so user sketches can run custom code in their `loop`
methods after checking if the device is suspended or not.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
Diffstat (limited to 'bootloaders/caterina-LilyPadUSB')
0 files changed, 0 insertions, 0 deletions