pull/111/merge
Ondřej Hruška 7 years ago
parent 979f956e7e
commit 023a2db01a
  1. 2
      user/cgi_sockets.c

@ -219,7 +219,7 @@ void ICACHE_FLASH_ATTR updateSockRx(Websock *ws, char *data, int len, int flags)
// action button press // action button press
btnNum = (u8) (data[1]); btnNum = (u8) (data[1]);
if (btnNum > 0 && btnNum < 10) { if (btnNum > 0 && btnNum < 10) {
UART_SendAsync(termconf->btn_msg[btnNum], -1); UART_SendAsync(termconf->btn_msg[btnNum-1], -1);
} }
break; break;

Loading…
Cancel
Save