diff --git a/branches/follower/wiz810mj/src/demo/WizDemo3/WizDemo3.pde b/branches/follower/wiz810mj/src/demo/WizDemo3/WizDemo3.pde index 5bd8be9..7c20cf6 100644 --- a/branches/follower/wiz810mj/src/demo/WizDemo3/WizDemo3.pde +++ b/branches/follower/wiz810mj/src/demo/WizDemo3/WizDemo3.pde @@ -265,25 +265,20 @@ void loop() { int dataLength = 0; -#define STATE_G 0 -#define STATE_E 1 -#define STATE_T 2 -#define STATE_SPACE 3 -#define STATE_SLASH 4 - +#define STATE_GET 0 #define STATE_READ 5 #define STATE_END -2 #define STATE_ERR -1 - int state = STATE_G; + int state = STATE_GET; int ledState = 1; unsigned char theByte; while (getSn_SR(testSocket) == SOCK_ESTABLISHED) { while (getSn_RX_RSR(testSocket) > 0) { - if (state == STATE_G) { + if (state == STATE_GET) { if (readMatch("GET /")) { state = STATE_READ; } else {