Skip to content

Compatibility with Arduino#329

Open
mushxoxo wants to merge 1 commit into
T-vK:masterfrom
mushxoxo:master
Open

Compatibility with Arduino#329
mushxoxo wants to merge 1 commit into
T-vK:masterfrom
mushxoxo:master

Conversation

@mushxoxo

Copy link
Copy Markdown

Updated BleKeyboard.h and BleKeyboard.cpp:

  1. Arduino uses String instead of std::string
  2. String class in Arduino does not have a substr() method like std::string in C++. Instead, use substring()

Update BleKeyboard.h and BleKeyboard.cpp:
1. Arduino uses String instead of std::string
2. String class in Arduino does not have a substr() method like std::string in C++. Instead, use substring()
@lockekk

lockekk commented Nov 16, 2024

Copy link
Copy Markdown

Thanks. This PR resolved the compiling issues with Arduino 2.3.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants