changeDevice

This commit is contained in:
2020-12-17 16:14:15 +01:00
parent 6f9f6d51d2
commit 3bd5e59786

View File

@ -152,6 +152,8 @@ void configInit() {
tmpDeviceBlock.consideredField[3]);
if (tmpDeviceBlock.period == 0) {
coloredMsg(LOG_BLUE, false, " device is marked as inactive");
} else if (tmpDeviceBlock.period == -1) {
coloredMsg(LOG_BLUE, false, " device is marked as deleted");
} else {
mbusCommAddDevice(&tmpDeviceBlock);
}