Skip to content

Commit

Permalink
By default, don't enable keystroke injection in Basic_Device sample
Browse files Browse the repository at this point in the history
  • Loading branch information
mikee47 committed Jul 5, 2024
1 parent 519c5b2 commit df65917
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/Basic_Device/app/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ void sendChar()
USB::hid0.sendReport(REPORT_ID_KEYBOARD, &report, sizeof(report), c ? sendChar : nullptr);
}

void sendText()
[[maybe_unused]] void sendText()
{
charIndex = 0;
lastChar = '\0';
Expand Down Expand Up @@ -232,7 +232,7 @@ void init()
debug_i("Alive");
// Un-comment this to demonstrated how to send keystrokes to the connected PC!
#if CFG_TUD_HID
sendText();
// sendText();
#endif
}));
timer.start();
Expand Down

0 comments on commit df65917

Please sign in to comment.