File tree Expand file tree Collapse file tree 4 files changed +10
-7
lines changed
SerialToSerialBLE_TransparentUART-NimBLE
SerialToSerialBLE_TransparentUART Expand file tree Collapse file tree 4 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 8989 -std=gnu++11
9090 PLATFORMIO_BUILD_FLAGS : |
9191 -std=gnu++17
92- -D BLESERIAL_USE_NIMBLE=${{ matrix.nimble != false}}
92+ -D BLESERIAL_USE_NIMBLE=${{ matrix.nimble != false }}
9393 -Wall
9494 -Wextra
9595 -Wpedantic
Original file line number Diff line number Diff line change 88String device_name = " ESP32-BLE-Slave" ;
99
1010BLESerial SerialBLE;
11- // If you are using older version of Arduino IDE, you may need to use
12- // empty template argument (<>), due to the old C++ compiler version (<=std=c++17).
11+ // If you are using an older version of Arduino IDE or C++ compiler, you may need to use
12+ // an empty template argument (<>), as Class Template Argument Deduction (CTAD) is not
13+ // supported in C++ versions older than C++17. For more details, see:
1314// https://www.cppreference.com/w/cpp/language/ctad.html
1415//
1516// Uncomment the line below if you are using an older version of Arduino IDE/C++ compiler
Original file line number Diff line number Diff line change 66// #include <etl/circular_buffer.h>
77
88BLESerial 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//
1314// Uncomment the line below if you are using an older version of Arduino IDE/C++ compiler
Original file line number Diff line number Diff line change 66// #include <etl/circular_buffer.h>
77
88BLESerial 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//
1314// Uncomment the line below if you are using an older version of Arduino IDE/C++ compiler
You can’t perform that action at this time.
0 commit comments