Skip to content

Commit 65d32e5

Browse files
committed
AE-577: Fixed spelling mistakes.
1 parent a99579d commit 65d32e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/Keyboard/Keyboard.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ void setup() {
3737
}
3838

3939
void loop() {
40-
kb.poll(); // This function will continuosly check if a key has been pressed, this is generally refered to as "polling"
40+
kb.poll(); // This function will continuously check if a key has been pressed, this is generally referred to as "polling"
4141

4242
// If keystrokes were registered, we enter a second loop and print out the entire buffer
4343
while (kb.available() > 0) {

examples/KeyboardAndMouse/KeyboardAndMouse.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ void onMouseConnected() {
4343

4444
// Mouse movement/button event callback
4545
// Note here the use of the "eventReceived" global variable. Since this function is called in an interrupt context,
46-
// we cannot do the processing and printin of data using Serial.print inside the interrupt, because it takes too much time.
46+
// we cannot do the processing and printing out of data using Serial.print, inside the interrupt, because it takes too much time.
4747
// Therefore, we set a global flag to "true", which is then checked in the "loop", outside of the ISR (interrupt service routine), then set back to "false".
4848
// An even better and more robut, but also more complex, way of handling this is by using a buffer queue for the mouse data and a state machine to process it.
4949
void onMouseEvent(const HIDMouseEvent &event) {

0 commit comments

Comments
 (0)