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:
openshwprojects
2025-01-23 23:10:35 +01:00
committed by GitHub
parent 1ef7c8192f
commit 77efc7ebca
24 changed files with 203 additions and 31 deletions

View File

@ -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);