Skip to content

Commit

Permalink
fixing indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
cy384 committed Nov 4, 2015
1 parent 208162f commit cc068cb
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions arduino_ppk_usb.ino
Original file line number Diff line number Diff line change
Expand Up @@ -229,23 +229,23 @@ void print_keychange(char key_byte, char key_code, int key_up)

if (key_code)
{
print_byte_bin(key_code);
print_byte_bin(key_code);

if(PRINTABLE_CHAR(key_code))
{
Serial.print(" (");
Serial.print(key_code);
Serial.print(")");
}
else
{
Serial.print(" (unprintable)");
}
if(PRINTABLE_CHAR(key_code))
{
Serial.print(" (");
Serial.print(key_code);
Serial.print(")");
}
else
{
Serial.print(" (unprintable)");
}
}
// Fn has no keycode, special case it
else if (key_byte == 34)
{
Serial.print("Fn");
Serial.print("Fn");
}
else
{
Expand Down

0 comments on commit cc068cb

Please sign in to comment.