Turn LEDs, backlight and display off when sleeping

Fixes #83
This commit is contained in:
Kristian Sloth Lauszus
2018-03-11 05:26:51 +01:00
parent 1742437f8b
commit 5de0e5ac60
4 changed files with 53 additions and 3 deletions

View File

@@ -23,10 +23,10 @@
)
// Whether the device is self-powered: 1 supported, 0 not supported
#define USB_DEVICE_CONFIG_SELF_POWER 1
#define USB_DEVICE_CONFIG_SELF_POWER 0
// Whether device remote wakeup supported: 1 supported, 0 not supported
#define USB_DEVICE_CONFIG_REMOTE_WAKEUP 0
#define USB_DEVICE_CONFIG_REMOTE_WAKEUP 1
// The number of control endpoints, which is always 1
#define USB_CONTROL_ENDPOINT_COUNT 1