summaryrefslogtreecommitdiff
path: root/hid/src/main.cpp
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-07-10 19:53:06 +0300
committerMaxim Devaev <[email protected]>2022-07-10 19:53:06 +0300
commit67547636cfae08121154179266bd1c42f59a72cb (patch)
treed32e4cfdac60ad111b65ad600af4bd5b35307cf9 /hid/src/main.cpp
parent1f33d92f61fddbc760ba8ef506bdf9fd5138a050 (diff)
style fix
Diffstat (limited to 'hid/src/main.cpp')
-rw-r--r--hid/src/main.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/hid/src/main.cpp b/hid/src/main.cpp
index 47ae9d76..732cbde2 100644
--- a/hid/src/main.cpp
+++ b/hid/src/main.cpp
@@ -268,10 +268,9 @@ static void _sendResponse(uint8_t code) {
break;
}
}
- if(_mouse->getType() != DRIVERS::DUMMY) {
+ if (_mouse->getType() != DRIVERS::DUMMY) {
response[1] |= (_mouse->isOffline() ? PROTO::PONG::MOUSE_OFFLINE : 0);
- switch (_mouse->getType())
- {
+ switch (_mouse->getType()) {
case DRIVERS::USB_MOUSE_ABSOLUTE_WIN98:
response[2] |= PROTO::OUTPUTS1::MOUSE::USB_WIN98;
break;