call back test class

This commit is contained in:
Dmitry Borisenko
2020-08-25 15:45:06 +03:00
parent c11983003b
commit b1318de1dc
3 changed files with 23 additions and 15 deletions

View File

@@ -75,13 +75,13 @@ void setup() {
just_load = false;
initialized = true;
async = new AsyncActions();
CB = new CallBackTest();
async->setCallback([]() {
CB->setCallback([]() {
Serial.println("123");
});
async->setCallback([](const String str) {
CB->setCallback([](const String str) {
Serial.println(str);
return true;
});