style fix

This commit is contained in:
Maxim Devaev
2022-07-10 19:53:06 +03:00
parent 1f33d92f61
commit 67547636cf
2 changed files with 3 additions and 4 deletions

View File

@@ -270,8 +270,7 @@ static void _sendResponse(uint8_t code) {
} }
if (_mouse->getType() != DRIVERS::DUMMY) { if (_mouse->getType() != DRIVERS::DUMMY) {
response[1] |= (_mouse->isOffline() ? PROTO::PONG::MOUSE_OFFLINE : 0); response[1] |= (_mouse->isOffline() ? PROTO::PONG::MOUSE_OFFLINE : 0);
switch (_mouse->getType()) switch (_mouse->getType()) {
{
case DRIVERS::USB_MOUSE_ABSOLUTE_WIN98: case DRIVERS::USB_MOUSE_ABSOLUTE_WIN98:
response[2] |= PROTO::OUTPUTS1::MOUSE::USB_WIN98; response[2] |= PROTO::OUTPUTS1::MOUSE::USB_WIN98;
break; break;