Merge pull request #14296 from s-hadinger/remove_leftovers

Remove debug leftovers
This commit is contained in:
s-hadinger 2022-01-05 12:38:55 +01:00 committed by GitHub
commit 923feb2096
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -728,7 +728,6 @@ bool Xdrv52(uint8_t function)
BrLoad("autoexec.be"); // run autoexec.be at first tick, so we know all modules are initialized BrLoad("autoexec.be"); // run autoexec.be at first tick, so we know all modules are initialized
berry.autoexec_done = true; berry.autoexec_done = true;
} }
callBerryEventDispatcher(PSTR("every_50ms"), nullptr, 0, nullptr);
break; break;
// Berry wide commands and events // Berry wide commands and events
@ -739,10 +738,8 @@ bool Xdrv52(uint8_t function)
result = callBerryRule(nullptr, true); result = callBerryRule(nullptr, true);
break; break;
case FUNC_MQTT_DATA: case FUNC_MQTT_DATA:
{int32_t now = millis();
result = callBerryEventDispatcher(PSTR("mqtt_data"), XdrvMailbox.topic, 0, XdrvMailbox.data, XdrvMailbox.data_len); result = callBerryEventDispatcher(PSTR("mqtt_data"), XdrvMailbox.topic, 0, XdrvMailbox.data, XdrvMailbox.data_len);
AddLog(LOG_LEVEL_INFO, ">>>: mqtt_data ms = %i", millis()-now);} break;
break;
case FUNC_COMMAND: case FUNC_COMMAND:
result = DecodeCommand(kBrCommands, BerryCommand); result = DecodeCommand(kBrCommands, BerryCommand);
if (!result) { if (!result) {