mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-20 00:32:37 +01:00
Update http_fns.c
This commit is contained in:
@@ -214,6 +214,8 @@ int http_fn_index(http_request_t* request) {
|
||||
bForceShowRGBCW = CFG_HasFlag(OBK_FLAG_LED_FORCESHOWRGBCWCONTROLLER);
|
||||
bForceShowRGB = CFG_HasFlag(OBK_FLAG_LED_FORCE_MODE_RGB);
|
||||
|
||||
malloc(1234);
|
||||
|
||||
// user override is always stronger, so if no override set
|
||||
if (bForceShowRGB == false && bForceShowRGBCW == false) {
|
||||
#ifndef OBK_DISABLE_ALL_DRIVERS
|
||||
@@ -1785,7 +1787,6 @@ void doHomeAssistantDiscovery(const char* topic, http_request_t* request) {
|
||||
}
|
||||
}
|
||||
|
||||
malloc(1234);
|
||||
|
||||
if (topic == 0 || *topic == 0) {
|
||||
topic = "homeassistant";
|
||||
|
||||
Reference in New Issue
Block a user