thermferm/server.c

changeset 156
5fb74d89f571
parent 155
0d86f3c0a07b
child 157
259a018758f9
equal deleted inserted replaced
155:0d86f3c0a07b 156:5fb74d89f571
1021 srv_send((char *)"403 LCD not available"); 1021 srv_send((char *)"403 LCD not available");
1022 #endif 1022 #endif
1023 } else if (strncmp(buf, "LIST", 4) == 0) { 1023 } else if (strncmp(buf, "LIST", 4) == 0) {
1024 cmd_list(buf); 1024 cmd_list(buf);
1025 } else if (strncmp(buf, "MODE", 4) == 0) { 1025 } else if (strncmp(buf, "MODE", 4) == 0) {
1026 cmd_mode(buf); 1026 if (cmd_mode(buf) == 0)
1027 wrconfig();
1027 } else if (strncmp(buf, "PROFILE", 7) == 0) { 1028 } else if (strncmp(buf, "PROFILE", 7) == 0) {
1028 if (cmd_profile(buf) == 0) 1029 if (cmd_profile(buf) == 0)
1029 wrconfig(); 1030 wrconfig();
1030 } else if (strncmp(buf, "SET", 3) == 0) { 1031 } else if (strncmp(buf, "SET", 3) == 0) {
1031 if (cmd_set(buf) == 0) 1032 if (cmd_set(buf) == 0)

mercurial