changeDevice
This commit is contained in:
@ -152,6 +152,8 @@ void configInit() {
|
|||||||
tmpDeviceBlock.consideredField[3]);
|
tmpDeviceBlock.consideredField[3]);
|
||||||
if (tmpDeviceBlock.period == 0) {
|
if (tmpDeviceBlock.period == 0) {
|
||||||
coloredMsg(LOG_BLUE, false, " device is marked as inactive");
|
coloredMsg(LOG_BLUE, false, " device is marked as inactive");
|
||||||
|
} else if (tmpDeviceBlock.period == -1) {
|
||||||
|
coloredMsg(LOG_BLUE, false, " device is marked as deleted");
|
||||||
} else {
|
} else {
|
||||||
mbusCommAddDevice(&tmpDeviceBlock);
|
mbusCommAddDevice(&tmpDeviceBlock);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user