RC
Dependents: WizFi250_AP_HelloWorld
Fork of WizFi250Interface by
Diff: WizFi250/WizFi250.h
- Revision:
- 8:431172d536ee
- Parent:
- 7:ba28fe711055
- Child:
- 9:12ecb377f63f
--- a/WizFi250/WizFi250.h Fri Nov 14 15:27:47 2014 +0900 +++ b/WizFi250/WizFi250.h Fri Nov 14 16:53:10 2014 +0900 @@ -34,15 +34,12 @@ using namespace std; - -#define DEBUG - //Debug is disabled by default -#if defined(DEBUG) -#define WIZ_DBG(x, ...) std::printf("[DBG]" x "\r\n", ##__VA_ARGS__); -#define WIZ_WARN(x, ...) std::printf("[WARN]" x "\r\n", ##__VA_ARGS__); -#define WIZ_ERR(x, ...) std::printf("[ERR]" x "\r\n", ##__VA_ARGS__); -#define WIZ_INFO(x, ...) std::printf("[INFO]" x "\r\n", ##__VA_ARGS__); +#if 0 +#define WIZ_DBG(x, ...) std::printf("[WizFi250: DBG]" x "\r\n", ##__VA_ARGS__); +#define WIZ_WARN(x, ...) std::printf("[WizFi250: WARN]" x "\r\n", ##__VA_ARGS__); +#define WIZ_ERR(x, ...) std::printf("[WizFi250: ERR]" x "\r\n", ##__VA_ARGS__); +#define WIZ_INFO(x, ...) std::printf("[WizFi250: INFO]" x "\r\n", ##__VA_ARGS__); #else #define WIZ_DBG(x, ...) #define WIZ_WARN(x, ...) @@ -56,10 +53,8 @@ public: enum WiFiMode { - // kaizen need to change WM_STATION = 0, WM_AP = 1, - //WM_ADHOCK, }; /** Wi-Fi security