1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-02 13:24:12 +01:00

Delete some prints

This commit is contained in:
Mimmo La Fauci 2012-02-10 01:00:11 +01:00
parent fa9393f7c4
commit 56f515243e
3 changed files with 0 additions and 15 deletions

View File

@ -99,7 +99,6 @@ int WiFiClass::begin(char* ssid, const char *passphrase)
{ {
delay(WL_DELAY_START_CONNECTION); delay(WL_DELAY_START_CONNECTION);
status = WiFiDrv::getConnectionStatus(); status = WiFiDrv::getConnectionStatus();
INFO("Status: %d", status);
} }
while ((( status == WL_IDLE_STATUS)||(status == WL_SCAN_COMPLETED))&&(--attempts>0)); while ((( status == WL_IDLE_STATUS)||(status == WL_SCAN_COMPLETED))&&(--attempts>0));
}else{ }else{

View File

@ -13,16 +13,6 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#define INFO_0 1
#define INFO_1 2
#define INFO_2 4
#define INFO_3 8
#define INFO_4 16
#define INFO_5 32
#define INFO_D (1<<0xD) // Debug
#define INFO_E (1<<0xE) // Error
#define INFO_F (1<<0xF) // Warning
#define PRINT_FILE_LINE() do { \ #define PRINT_FILE_LINE() do { \
Serial.print("[");Serial.print(__FILE__); \ Serial.print("[");Serial.print(__FILE__); \
Serial.print("::");Serial.print(__LINE__);Serial.print("]");\ Serial.print("::");Serial.print(__LINE__);Serial.print("]");\

View File

@ -140,7 +140,6 @@ char SpiDrv::readChar()
{ \ { \
TOGGLE_TRIGGER() \ TOGGLE_TRIGGER() \
WARN("Error waiting START_CMD"); \ WARN("Error waiting START_CMD"); \
Serial.println(cmd, 16); \
return 0; \ return 0; \
}else \ }else \
@ -307,14 +306,12 @@ int SpiDrv::waitResponseParams(uint8_t cmd, uint8_t numParam, tParam* params)
} else } else
{ {
WARN("Error numParam == 0"); WARN("Error numParam == 0");
Serial.println(cmd, 16);
return 0; return 0;
} }
if (numParam != _numParam) if (numParam != _numParam)
{ {
WARN("Mismatch numParam"); WARN("Mismatch numParam");
Serial.println(cmd, 16);
return 0; return 0;
} }
@ -402,7 +399,6 @@ int SpiDrv::waitResponse(uint8_t cmd, uint8_t* numParamRead, uint8_t** params, u
} else } else
{ {
WARN("Error numParams == 0"); WARN("Error numParams == 0");
Serial.println(cmd, 16);
return 0; return 0;
} }
readAndCheckChar(END_CMD, &_data); readAndCheckChar(END_CMD, &_data);