Added missing semicolon

Needed for STM32
This commit is contained in:
Kristian Lauszus 2013-12-01 16:03:11 +01:00
parent c84dce8e00
commit ab9338a55e

View file

@ -37,7 +37,7 @@ uint8_t KbdRptParser::HandleLockingKeys(HID *hid, uint8_t key) {
} }
return 0; return 0;
} };
void KbdRptParser::PrintKey(uint8_t m, uint8_t key) { void KbdRptParser::PrintKey(uint8_t m, uint8_t key) {
MODIFIERKEYS mod; MODIFIERKEYS mod;
@ -64,7 +64,7 @@ void KbdRptParser::OnKeyDown(uint8_t mod, uint8_t key) {
if (c) if (c)
OnKeyPressed(c); OnKeyPressed(c);
} };
void KbdRptParser::OnControlKeysChanged(uint8_t before, uint8_t after) { void KbdRptParser::OnControlKeysChanged(uint8_t before, uint8_t after) {
MODIFIERKEYS beforeMod; MODIFIERKEYS beforeMod;
@ -90,12 +90,12 @@ void KbdRptParser::OnControlKeysChanged(uint8_t before, uint8_t after) {
Serial.println(F("RightAlt changed")); Serial.println(F("RightAlt changed"));
if (beforeMod.bmRightGUI != afterMod.bmRightGUI) if (beforeMod.bmRightGUI != afterMod.bmRightGUI)
Serial.println(F("RightGUI changed")); Serial.println(F("RightGUI changed"));
} };
void KbdRptParser::OnKeyUp(uint8_t mod, uint8_t key) { void KbdRptParser::OnKeyUp(uint8_t mod, uint8_t key) {
Serial.print(F("UP ")); Serial.print(F("UP "));
PrintKey(mod, key); PrintKey(mod, key);
} };
void KbdRptParser::OnKeyPressed(uint8_t key) { void KbdRptParser::OnKeyPressed(uint8_t key) {
Serial.print(F("ASCII: ")); Serial.print(F("ASCII: "));