From a099cfd0af5921ba0e5b5bc110f279b376cba35c Mon Sep 17 00:00:00 2001 From: follower Date: Sat, 8 Dec 2007 02:57:09 +0000 Subject: [PATCH] Tidy up code by removing now unused rx buffer and other dead code/comments. git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@78 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b --- branches/follower/wiz810mj/src/demo/WizDemo3/WizDemo3.pde | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/branches/follower/wiz810mj/src/demo/WizDemo3/WizDemo3.pde b/branches/follower/wiz810mj/src/demo/WizDemo3/WizDemo3.pde index 65434d3..a293858 100644 --- a/branches/follower/wiz810mj/src/demo/WizDemo3/WizDemo3.pde +++ b/branches/follower/wiz810mj/src/demo/WizDemo3/WizDemo3.pde @@ -233,11 +233,8 @@ void loop() { Serial.println(ip[3], DEC); - // TODO: Avoid buffer overflows in both cases... -#define MAX_RX_BUFFER_SIZE 5 + // TODO: Avoid buffer overflows... #define MAX_TX_BUFFER_SIZE 200 - uint8_t bytesReceived[MAX_RX_BUFFER_SIZE]; // NOTE: Actual buffer should be larger. - uint8_t bytesToSend[MAX_TX_BUFFER_SIZE]; //sendBanner(bytesReceived); @@ -264,7 +261,6 @@ void loop() { while (getSn_SR(testSocket) == SOCK_ESTABLISHED) { while (getSn_RX_RSR(testSocket) > 0) { theByte = readByte(); - //Serial.print(bytesReceived[0], BYTE); Serial.print(theByte, BYTE); if ((state == STATE_G) && (theByte == 'G')) { state = STATE_E;