changed format of the temperature value to be compliant with new specification
This commit is contained in:
parent
9c8c4898f7
commit
fb4272866d
1 changed files with 2 additions and 2 deletions
|
@ -173,7 +173,7 @@ raven_gui_loop(process_event_t ev, process_data_t data)
|
|||
break;
|
||||
case CMD_TEMP:
|
||||
/* Set temperature string in web server */
|
||||
sprintf(udp_data, "temp %s", (char *)cmd.frame);
|
||||
sprintf(udp_data, "T%s\r\n", (char *)cmd.frame);
|
||||
uip_udp_packet_send(udp_conn, udp_data, data_len);
|
||||
break;
|
||||
default:
|
||||
|
@ -201,7 +201,7 @@ int raven_lcd_serial_input(unsigned char ch)
|
|||
/* first byte, must be 0x01 */
|
||||
cmd.done = false;
|
||||
if (ch != 0x01){
|
||||
return;
|
||||
return 0;
|
||||
}
|
||||
break;
|
||||
case 1:
|
||||
|
|
Loading…
Reference in a new issue