motion invertex fix and motion self test

This commit is contained in:
Tester23
2024-08-24 23:10:30 +02:00
parent 93aeb323f7
commit b09addeca9
2 changed files with 30 additions and 1 deletions

View File

@ -494,7 +494,7 @@ int http_fn_index(http_request_t* request) {
iValue = CHANNEL_Get(i);
poststr(request, "<tr><td>");
if (iValue == (channelType == ChType_Motion)) {
if (iValue == (channelType != ChType_Motion)) {
hprintf255(request, "No motion (ch %i)", i);
}
else {