Skip to content

Commit f38557d

Browse files
committed
✏️ Update comments
1 parent 6009a40 commit f38557d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

examples/SerialToSerialBLE_Secure/SerialToSerialBLE_Secure.ino

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,19 @@
66
// #include <etl/circular_buffer.h>
77

88
BLESerial SerialBLE;
9-
// If you are using older version of Arduino IDE, you may need to use
10-
// empty template argument (<>), due to the old C++ compiler version (<=std=c++17).
9+
// If you are using an older version of Arduino IDE or C++ compiler, you may need to use
10+
// an empty template argument (<>), as Class Template Argument Deduction (CTAD) is not
11+
// supported in C++ versions older than C++17. For more details, see:
1112
// https://www.cppreference.com/w/cpp/language/ctad.html
1213
//
13-
// Uncomment the line below if you are using an older version of Arduino IDE
14+
// Uncomment the line below if you are using an older version of Arduino IDE/C++ compiler
1415
// BLESerial<> SerialBLE;
1516

1617
// FOR ETL: Uncomment one of the following lines
1718
// BLESerial<etl::queue<uint8_t, 255, etl::memory_model::MEMORY_MODEL_SMALL>> SerialBLE;
1819
// OR
1920
// BLESerial<etl::circular_buffer<uint8_t, 255>> SerialBLE;
2021

21-
uint32_t passKey;
22-
2322
class AppSecurityCallbacks : public BLESecurityCallbacks {
2423
public:
2524
AppSecurityCallbacks() {

0 commit comments

Comments
 (0)