mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-09 03:35:42 +00:00
make startup command multiline
* step 1 * step2 * Update cmd_script.c * Update cmd_script.c * Update obk_config.h * Update cmd_script.c * Update cmd_script.c * fx * Update obk_config.h * Update OpenW800 * Update OpenW800 * Update obk_config.h * f * fix waitfor * Update obk_config.h * Update Makefile * json escap9ijgng * crash checks and size check * w600 bmp * fx * Update Makefile * test * fx * Tokenizer_GetPin * fix * fix * ln882h pins * Update new_http.c * Update new_http.c * Update new_http.c * aht * aht * Update obk_config.h * drv_sht3x * aht pins * f * fx * aht * sunset fx * ln owm * Update CMakeLists.txt
This commit is contained in:
@ -910,7 +910,7 @@ static int http_rest_get_info(http_request_t* request) {
|
||||
hprintf255(request, "\"shortName\":\"%s\",", CFG_GetShortDeviceName());
|
||||
poststr(request, "\"startcmd\":\"");
|
||||
// This can be longer than 255
|
||||
poststr(request, CFG_GetShortStartupCommand());
|
||||
poststr_escapedForJSON(request, CFG_GetShortStartupCommand());
|
||||
poststr(request, "\",");
|
||||
#ifndef OBK_DISABLE_ALL_DRIVERS
|
||||
hprintf255(request, "\"supportsSSDP\":%d,", DRV_IsRunning("SSDP") ? 1 : 0);
|
||||
|
||||
Reference in New Issue
Block a user