From 50cb258b781ffc50a2dd63171767390bc69cd920 Mon Sep 17 00:00:00 2001 From: openshwprojects Date: Sun, 12 Jun 2022 08:46:28 +0200 Subject: [PATCH] OBK_DISABLE_ALL_DRIVERS --- src/httpserver/http_fns.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/httpserver/http_fns.c b/src/httpserver/http_fns.c index 42fc146e0..f87f2cffe 100644 --- a/src/httpserver/http_fns.c +++ b/src/httpserver/http_fns.c @@ -1479,7 +1479,9 @@ int http_fn_cfg_dgr(http_request_t *request) { CFG_DeviceGroups_SetRecvFlags(newRecvFlags); if(tmpA[0] != 0) { +#ifndef OBK_DISABLE_ALL_DRIVERS DRV_StartDriver("DGR"); +#endif } CFG_Save_IfThereArePendingChanges(); }