Skip to content

Commit

Permalink
Fix spell checks
Browse files Browse the repository at this point in the history
  • Loading branch information
ShishkinDmitriy committed Sep 16, 2024
1 parent e980135 commit 42d41a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/MenuItem.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ class MenuItem {
void setText(const char* text) { this->text = text; };
/**
* @brief Process a command decoded in 1 byte.
* It can be a printable charactor or a control command like `ENTER` or `LEFT`.
* Return value is used to determine operation was successfull or ignored.
* It can be a printable character or a control command like `ENTER` or `LEFT`.
* Return value is used to determine operation was successful or ignored.
* If the parent of item received that handle was ignored it can execute it's own action on this command.
* Thus, the item always has priority in processing; if it is ignored, it is delegated to the parent element.
* Behaviour is very similar to Even Bubbling in JavaScript.
* @param c the character, can be a printable charactor or a control command
* @param c the character, can be a printable character or a control command
* @return true if command was successfully handled by item.
*/
virtual bool process(const unsigned char c) { return false; };
Expand Down
2 changes: 1 addition & 1 deletion src/input/KeyboardAdapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class KeyboardAdapter : public InputInterface {
Stream* stream = NULL;
/**
* Internal state of current code set.
* As stream receives bytes asyncronously, multiple bytes command can arrive
* As stream receives bytes asynchronously, multiple bytes command can arrive
* in several calls. Need to store current state between calls.
*/
CodeSet codeSet = CodeSet::C0;
Expand Down

0 comments on commit 42d41a0

Please sign in to comment.