system: use direct status updates instead of broker

Get rid of status & config brokers, register status callbacks directly with the module.
This commit is contained in:
Maxim Prokhorov
2021-03-09 12:37:16 +03:00
parent 6f4a8387ef
commit 78b4007f01
15 changed files with 260 additions and 253 deletions

View File

@@ -14,8 +14,6 @@ Copyright (C) 2020 by Maxim Prokhorov <prokhorov dot max at outlook dot com>
#include "system.h"
#include "utils.h"
BrokerBind(StatusBroker);
bool rpcHandleAction(const String& action) {
bool result = false;
if (action.equals("reboot")) {