mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-03-01 21:18:48 +00:00
Tuyamcu raw access (#1048)
* working/? * winnermicro fix * ENABLE_DRIVER_TUYAMCU fx * some fixes, some unfiished * extra check
This commit is contained in:
@ -2573,8 +2573,11 @@ const char* g_obk_flagNames[] = {
|
||||
"[TuyaMCU] Use queue",
|
||||
"[HTTP] Disable authentication in safe mode (not recommended)",
|
||||
"[MQTT Discovery] Don't merge toggles and dimmers into lights",
|
||||
"[TuyaMCU] Store raw data",
|
||||
"error",
|
||||
};
|
||||
"error",
|
||||
};
|
||||
|
||||
int http_fn_cfg_generic(http_request_t* request) {
|
||||
int i;
|
||||
char tmpA[64];
|
||||
@ -2611,7 +2614,10 @@ int http_fn_cfg_generic(http_request_t* request) {
|
||||
|
||||
CFG_Save_IfThereArePendingChanges();
|
||||
|
||||
// 32 bit type
|
||||
hprintf255(request, "<h4>Flags (Current value=%i)</h4>", CFG_GetFlags());
|
||||
// 64 bit - TODO fixme
|
||||
//hprintf255(request, "<h4>Flags (Current value=%lu)</h4>", CFG_GetFlags64());
|
||||
poststr(request, "<form action=\"/cfg_generic\">");
|
||||
|
||||
for (i = 0; i < OBK_TOTAL_FLAGS; i++) {
|
||||
|
||||
Reference in New Issue
Block a user