mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-10 10:05:56 +00:00
basic MCP23017 support (port exander), it's possible to map channels to MCP ports
This commit is contained in:
@ -158,7 +158,7 @@ int http_fn_index(http_request_t *request) {
|
||||
|
||||
hprintf128(request,"Humidity Channel %i value %f Percent<br>",i, fValue);
|
||||
|
||||
} else if(BIT_CHECK(relayFlags,i)) {
|
||||
} else if(BIT_CHECK(relayFlags,i) || channelType == ChType_Toggle) {
|
||||
const char *c;
|
||||
if(CHANNEL_Check(i)) {
|
||||
c = "r";
|
||||
|
||||
Reference in New Issue
Block a user