mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 22:52:19 +03:00
impuls bug fixed
This commit is contained in:
@@ -45,7 +45,7 @@ void impuls() {
|
||||
myLineParsing.clear();
|
||||
|
||||
impulsEnterCounter++;
|
||||
addKey(key, impulsEnterCounter);
|
||||
addKey(key, impulsKeyList, impulsEnterCounter);
|
||||
|
||||
static bool firstTime = true;
|
||||
if (firstTime) myImpulsOut = new MyImpulsOutVector();
|
||||
@@ -60,8 +60,7 @@ void impulsExecute() {
|
||||
String impulsPeriod = sCmd.next();
|
||||
String impulsCount = sCmd.next();
|
||||
|
||||
int number = getKeyNum(key);
|
||||
SerialPrint("I", "Impuls", key + " " + String(number));
|
||||
int number = getKeyNum(key, impulsKeyList);
|
||||
|
||||
if (myImpulsOut != nullptr) {
|
||||
if (number != -1) {
|
||||
|
||||
Reference in New Issue
Block a user