mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-31 04:19:15 +03:00
277 исправил баг с уз дальномером
This commit is contained in:
Binary file not shown.
@@ -43,7 +43,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "h4",
|
"type": "h4",
|
||||||
"title": "Версия файловой системы: 276"
|
"title": "Версия файловой системы: 277"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "h4",
|
"type": "h4",
|
||||||
|
|||||||
@@ -112,11 +112,19 @@ class LineParsing {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (_pin != "") {
|
if (_pin != "") {
|
||||||
|
if (_pin.indexOf(",") == -1) {
|
||||||
if (!isPinExist(_pin.toInt()) || !isDigitStr(_pin)) {
|
if (!isPinExist(_pin.toInt()) || !isDigitStr(_pin)) {
|
||||||
pinErrors++;
|
pinErrors++;
|
||||||
Serial.println("'" + _pin + "'");
|
|
||||||
_pin = "";
|
_pin = "";
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
String pin1 = selectToMarker(_pin, ",");
|
||||||
|
String pin2 = deleteBeforeDelimiter(_pin, ",");
|
||||||
|
if (!isPinExist(pin1.toInt()) || !isDigitStr(pin1) || !isPinExist(pin2.toInt()) || !isDigitStr(pin2)) {
|
||||||
|
pinErrors++;
|
||||||
|
_pin = "";
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_page.replace("#", " ");
|
_page.replace("#", " ");
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define FIRMWARE_VERSION 276
|
#define FIRMWARE_VERSION 277
|
||||||
|
|
||||||
#ifdef esp8266_4mb
|
#ifdef esp8266_4mb
|
||||||
#define FIRMWARE_NAME "esp8266_4mb"
|
#define FIRMWARE_NAME "esp8266_4mb"
|
||||||
|
|||||||
Reference in New Issue
Block a user