Bugfix in page layout for mb851-websense example.

This commit is contained in:
Salvatore Pitrulli 2011-05-28 11:46:18 +02:00
parent efffaac0ff
commit 7043c25cd9

View File

@ -164,15 +164,13 @@ PT_THREAD(send_values(struct httpd_state *s))
end_acc_chart(); end_acc_chart();
SEND_STRING(&s->sout, buf); SEND_STRING(&s->sout, buf);
SEND_STRING(&s->sout, BOTTOM);
} }
if(s->filename[1] != 'a') { if(s->filename[1] != 'a') {
generate_chart("Temperature", "Celsius", 10, 50, temperature); generate_chart("Temperature", "Celsius", 10, 50, temperature);
SEND_STRING(&s->sout, buf); SEND_STRING(&s->sout, buf);
SEND_STRING(&s->sout, BOTTOM);
} }
SEND_STRING(&s->sout, BOTTOM);
} }
PSOCK_END(&s->sout); PSOCK_END(&s->sout);