aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core/protocol/lufa/lufa.c
diff options
context:
space:
mode:
authorGravatar Wilba6582 <Jason.S.Wiliams@gmail.com>2016-12-20 02:46:50 +1100
committerGravatar Wilba6582 <Jason.S.Wiliams@gmail.com>2016-12-20 02:46:50 +1100
commita305da2bc9ca5fbca7564d931088271048751d4b (patch)
treec46d57d74a8a28881efbea89e1fd91eee6462622 /tmk_core/protocol/lufa/lufa.c
parent8e28bf39d8a1eb22f5a5c09efa2c74cbf2120f71 (diff)
downloadqmk_firmware-a305da2bc9ca5fbca7564d931088271048751d4b.tar.gz
Fixes issue #900
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 dd78fe621..097189770 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);