Добавляем возможность получения первичной настройки из модуля

This commit is contained in:
2022-01-16 12:03:02 +03:00
parent db36e79058
commit c8bd073cf8
5 changed files with 35 additions and 24 deletions

View File

@@ -25,5 +25,11 @@ class IoTSensor {
unsigned long _interval;
};
struct ModuleInfo
{
void* apiToComponent;
String defConfig;
};
//extern IoTSensor* myIoTSensor;
//модулям не нужно знать эту переменную