Turn down WIFI_API_DEBUG_LOG in wifi_api.h
Fork of WIFI_API_32kRAM by
Diff: WIFI_Driver/wifi_api.h
- Revision:
- 19:a11db6055532
- Parent:
- 12:be75c06cb491
- Child:
- 25:47b20177ef04
diff -r 8d8c2064be73 -r a11db6055532 WIFI_Driver/wifi_api.h --- a/WIFI_Driver/wifi_api.h Wed Oct 07 05:14:22 2015 +0000 +++ b/WIFI_Driver/wifi_api.h Wed Jan 13 08:38:45 2016 +0000 @@ -21,10 +21,25 @@ * - configure each SPI module separately through @ref spi_master_init. */ +#define WIFI_API_DEBUG_LOG 0 +#define WIFI_API_DEBUG_TX_PIN USBTX +#define WIFI_API_DEBUG_BAUDRATE 115200 + #define SSID_MAX_LENGTH 32 #define SCAN_SSID_MAX_NUM 20 -#define ticker_internal 60//Tsungt, 2015/09/21, it was 60, if set to 30 or 20 somehow receive_all will go wrong (return 0) +#if defined(TARGET_DELTA_DFCM_NNN40) +#define ticker_internal 25//Tsungt, 2015/09/21, it was 60, if set to 30 or 20 somehow receive_all will go wrong (return 0) +#else + +#if defined(WIFI_API_DEBUG_LOG) +#define ticker_internal 15//Tsungt, used for NUCLEO-F446RE +#else +#define ticker_internal 5//Tsungt, used for NUCLEO-F446RE +#endif + +#endif + #define wait_ms_internal 1 /** @@ -63,3 +78,5 @@ #endif + +