Выключаем SysExt

This commit is contained in:
2022-08-22 21:25:12 +03:00
parent 4ed7996309
commit 62d6cc586a
3 changed files with 6 additions and 20 deletions

View File

@@ -455,22 +455,11 @@
"apin": -1,
"num": 34
},
{
"name": "35. Доп. функции системы",
"type": "Reading",
"subtype": "SysExt",
"id": "SysExt",
"widget": "",
"page": "",
"descr": "",
"int": 15,
"num": 35
},
{
"header": "Экраны"
},
{
"name": "36. LCD экран 2004",
"name": "35. LCD экран 2004",
"type": "Reading",
"subtype": "Lcd2004",
"id": "Lcd",
@@ -482,10 +471,10 @@
"size": "20,4",
"coord": "0,0",
"id2show": "id датчика",
"num": 36
"num": 35
},
{
"name": "37. LCD экран 1602",
"name": "36. LCD экран 1602",
"type": "Reading",
"subtype": "Lcd2004",
"id": "Lcd",
@@ -497,6 +486,6 @@
"size": "16,2",
"coord": "0,0",
"id2show": "id датчика",
"num": 37
"num": 36
}
]

View File

@@ -89,7 +89,6 @@ build_src_filter =
+<modules\exec\Mcp23017>
+<modules\exec\Mp3>
+<modules\exec\Pwm8266>
+<modules\exec\SysExt>
+<modules\display\Lcd2004>
[env:esp32_4mb_fromitems]
@@ -111,8 +110,10 @@ lib_deps =
dfrobot/DFRobotDFPlayerMini @ ^1.0.5
marcoschwartz/LiquidCrystal_I2C@^1.1.4
build_src_filter =
+<modules\virtual\Logging>
+<modules\virtual\Timer>
+<modules\virtual\Variable>
+<modules\virtual\VButton>
+<modules\sensors\Aht20>
+<modules\sensors\AnalogAdc>
+<modules\sensors\Bme280>
@@ -128,11 +129,9 @@ build_src_filter =
+<modules\sensors\Sonar>
+<modules\exec\ButtonIn>
+<modules\exec\ButtonOut>
+<modules\exec\IarduinoRTC>
+<modules\exec\IoTServo>
+<modules\exec\Mcp23017>
+<modules\exec\Mp3>
+<modules\exec\Pwm32>
+<modules\exec\SysExt>
+<modules\display\Lcd2004>

View File

@@ -23,7 +23,6 @@ void* getAPI_IoTServo(String subtype, String params);
void* getAPI_Mcp23017(String subtype, String params);
void* getAPI_Mp3(String subtype, String params);
void* getAPI_Pwm8266(String subtype, String params);
void* getAPI_SysExt(String subtype, String params);
void* getAPI_Lcd2004(String subtype, String params);
void* getAPI(String subtype, String params) {
@@ -51,7 +50,6 @@ if ((tmpAPI = getAPI_IoTServo(subtype, params)) != nullptr) return tmpAPI;
if ((tmpAPI = getAPI_Mcp23017(subtype, params)) != nullptr) return tmpAPI;
if ((tmpAPI = getAPI_Mp3(subtype, params)) != nullptr) return tmpAPI;
if ((tmpAPI = getAPI_Pwm8266(subtype, params)) != nullptr) return tmpAPI;
if ((tmpAPI = getAPI_SysExt(subtype, params)) != nullptr) return tmpAPI;
if ((tmpAPI = getAPI_Lcd2004(subtype, params)) != nullptr) return tmpAPI;
return nullptr;
}