diff --git a/src/httpserver/http_fns.c b/src/httpserver/http_fns.c index aa20f2f8c..a49d8cb39 100644 --- a/src/httpserver/http_fns.c +++ b/src/httpserver/http_fns.c @@ -407,6 +407,18 @@ int http_fn_index(http_request_t* request) { poststr(request, ""); } + else if (channelType == ChType_ReadOnlyLowMidHigh) { + const char* types[] = { "Low","Mid","High" }; + iValue = CHANNEL_Get(i); + poststr(request, ""); + if (iValue >= 0 && iValue <= 2) { + hprintf255(request, "Channel %s = %s", CHANNEL_GetLabel(i), types[iValue]); + } + else { + hprintf255(request, "Channel %s = %i", CHANNEL_GetLabel(i), iValue); + } + poststr(request, ""); + } else if (channelType == ChType_LowMidHigh) { const char* types[] = { "Low","Mid","High" }; iValue = CHANNEL_Get(i);