finish remapping

- actrls_brd config renamed actrls_config
- get rid of static board definitions
- allow JSON config string to only initialize what it needs
- add control_hook
This commit is contained in:
philippe44
2020-01-17 20:29:14 -08:00
parent 4dbed9ecb4
commit b8570ebce3
8 changed files with 86 additions and 92 deletions

View File

@@ -145,7 +145,7 @@ static void notify(in_addr_t ip, u16_t hport, u16_t cport) {
void cli_controls_init(void) {
LOG_INFO("initializing CLI controls");
get_mac(mac);
actrls_set_default(LMS_controls);
actrls_set_default(LMS_controls, NULL);
chained_notify = server_notify;
server_notify = notify;
}