@ -90,7 +90,7 @@ static void rpc_relay_set_handler(struct mg_rpc_request_info *ri, void *cb_arg,
return;
}
relays_set_by_idx(idx, state);
relays_set_by_idx(idx, (bool) state);
mg_rpc_send_responsef(ri, "{idx: %d, gpio: %d, state: %d}", idx, gpio, state);
(void) cb_arg;
The note is not visible to the blocked user.