diff --git a/branches/follower/wiz810mj/src/demo/WizDemo2/WizDemo2.pde b/branches/follower/wiz810mj/src/demo/WizDemo2/WizDemo2.pde index a2e234c..8b00e8f 100644 --- a/branches/follower/wiz810mj/src/demo/WizDemo2/WizDemo2.pde +++ b/branches/follower/wiz810mj/src/demo/WizDemo2/WizDemo2.pde @@ -181,11 +181,11 @@ void sendPrompt(uint8_t *buffer) { // {Socket targetSocket, ) { void sendBanner(uint8_t *buffer, int ledState) { // {Socket targetSocket, ) { //strcpy((char *) buffer, "Content-Type: text/plain\n\nfoo!\n"); - strcpy((char *) buffer, "HTTP/1.1 200 OK\n\rContent-Type: text/html\n\r\n\rfoo!\n\r"); + strcpy((char *) buffer, "HTTP/1.1 200 OK\nContent-Type: text/html\n\nfoo!\n"); if (ledState) { - buffer[66] = 'F'; + buffer[63] = 'F'; } else { - buffer[68] = 'F'; + buffer[65] = 'F'; } Serial.print("send result: ");