summaryrefslogtreecommitdiff
path: root/tmk_core/protocol/lufa/lufa.c
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-12-19 11:07:39 -0500
committerGitHub <noreply@github.com>2016-12-19 11:07:39 -0500
commitea926369b80c446141edd16c892112fab69b20b6 (patch)
treeb6b945900e765337d9e7fd4437d775b97a7bcd51 /tmk_core/protocol/lufa/lufa.c
parent29731588b74d9a3416d42bc292b47b3634c772d7 (diff)
parenta305da2bc9ca5fbca7564d931088271048751d4b (diff)
Merge pull request #963 from Wilba6582/fix_900
Fixes issue #900 KC_PWR not working
Diffstat (limited to 'tmk_core/protocol/lufa/lufa.c')
-rw-r--r--tmk_core/protocol/lufa/lufa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/protocol/lufa/lufa.c b/tmk_core/protocol/lufa/lufa.c
index dd78fe6213..0971897706 100644
--- a/tmk_core/protocol/lufa/lufa.c
+++ b/tmk_core/protocol/lufa/lufa.c
@@ -732,7 +732,7 @@ static void send_system(uint16_t data)
report_extra_t r = {
.report_id = REPORT_ID_SYSTEM,
- .usage = data
+ .usage = data - SYSTEM_POWER_DOWN + 1
};
Endpoint_SelectEndpoint(EXTRAKEY_IN_EPNUM);