mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
call back test class
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user