Skip to content

Commit b64b856

Browse files
Fix warning in EVisionV2KeyboardController.cpp
1 parent 1b9ce71 commit b64b856

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Controllers/EVisionKeyboardController/EVisionV2KeyboardController.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,8 +348,8 @@ void EVisionV2KeyboardController::SetMode(EVisionV2KeyboardPart part, const Evis
348348
Write(EVISION_V2_CMD_WRITE_CONFIG, EVISION_V2_OFFSET_CURRENT_PROFILE, &current_profile, 1);
349349
}
350350

351-
uint16_t offset;
352-
uint8_t size;
351+
uint16_t offset = 0;
352+
uint8_t size = 0;
353353

354354
offset = current_profile * 0x40 + EVISION_V2_OFFSET_FIRST_PROFILE;
355355

0 commit comments

Comments
 (0)