Remove now unused 'sendPrompt' routine.

git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@82 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
master
follower 17 years ago
parent 2e4f5189df
commit fb104053ee

@ -169,14 +169,6 @@ void setup () {
} }
void sendPrompt(uint8_t *buffer) { // {Socket targetSocket, ) {
strcpy((char *) buffer, "w00t!> ");
Serial.print("send result: ");
//Serial.println(send(testSocket, buffer, 6), DEC);
Serial.println(send(testSocket, buffer, strlen((char *)buffer)), DEC);
}
void sendBanner(uint8_t *buffer, int ledState) { // {Socket targetSocket, ) { void sendBanner(uint8_t *buffer, int ledState) { // {Socket targetSocket, ) {
@ -271,8 +263,6 @@ void loop() {
//sendBanner(bytesReceived); //sendBanner(bytesReceived);
//sendPrompt(bytesReceived);
int dataLength = 0; int dataLength = 0;
#define STATE_G 0 #define STATE_G 0
@ -343,12 +333,10 @@ void loop() {
//Serial.print("send result: "); //Serial.print("send result: ");
//Serial.println(send(testSocket, bytesReceived, dataLength), DEC); //Serial.println(send(testSocket, bytesReceived, dataLength), DEC);
//sendPrompt(bytesReceived);
*/ */
} }
sendBanner(bytesToSend, ledState); sendBanner(bytesToSend, ledState);
//sendPrompt(bytesReceived);
break; break;
} }

Loading…
Cancel
Save