Shutter reactivate rule trigger during move

This commit is contained in:
Norbert Richter 2020-07-04 13:23:35 +02:00
parent 46542e4cbb
commit e7cd96689f
No known key found for this signature in database
GPG Key ID: 6628701A626FA674
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ void ShutterReportPosition(bool always, uint32_t index)
ResponseJsonEnd();
if (always || (rules_flag.shutter_moving)) {
MqttPublishPrefixTopic_P(RESULT_OR_STAT, PSTR(D_PRFX_SHUTTER));
//XdrvRulesProcess(); //removed because to many exceptions and reboots.
XdrvRulesProcess(); //RulesProcess() now re-entry protected
}
//AddLog_P2(LOG_LEVEL_DEBUG_MORE, PSTR("SHT: rules_flag.shutter_moving: %d, moved %d"), rules_flag.shutter_moving, rules_flag.shutter_moved);