Skip to content

Commit

Permalink
remove conditiinal from flag names so future parsing mechanism can work
Browse files Browse the repository at this point in the history
  • Loading branch information
openshwprojects committed Mar 5, 2023
1 parent 48f4b57 commit 061a420
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/httpserver/http_fns.c
Original file line number Diff line number Diff line change
Expand Up @@ -2219,6 +2219,8 @@ int http_fn_cfg_pins(http_request_t* request) {
poststr(request, NULL);
return 0;
}


const char* g_obk_flagNames[] = {
"[MQTT] Broadcast led params together (send dimmer and color when dimmer or color changes, topic name: YourDevName/led_basecolor_rgb/get, YourDevName/led_dimmer/get)",
"[MQTT] Broadcast led final color (topic name: YourDevName/led_finalcolor_rgb/get)",
Expand Down Expand Up @@ -2246,13 +2248,9 @@ const char* g_obk_flagNames[] = {
"[LED] Automatically enable Light on any change of brightness, color or temperature",
"[LED] Emulate Cool White with RGB in device with four PWMS - Red is 0, Green 1, Blue 2, and Warm is 4",
"[POWER] Allow negative current/power for power measurement (all chips, BL0937, BL0942, etc)",
#if PLATFORM_BL602
"[UART] Use alternate UART for BL0942, CSE, TuyaMCU, etc. If marked, uses /dev/ttyS1, otherwise S0",
#elif PLATFORM_BEKEN
"[UART] Use alternate UART for BL0942, CSE, TuyaMCU, etc. If marked, uses UART2, otherwise UART1",
#else
// On BL602, if marked, uses /dev/ttyS1, otherwise S0
// On Beken, if marked, uses UART2, otherwise UART1
"[UART] Use alternate UART for BL0942, CSE, TuyaMCU, etc",
#endif
"[HASS] Invoke HomeAssistant discovery on change to ip address, configuration",
"[LED] Setting RGB white (FFFFFF) enables temperature mode",
"[NETIF] Use short device name as a hostname instead of a long name",
Expand Down

0 comments on commit 061a420

Please sign in to comment.