RC

Dependents:   WizFi250_AP_HelloWorld

Fork of WizFi250Interface by DongEun Koak

Revision:
13:0b8e51d3c0e8
Parent:
10:187e3fd24123
Child:
14:1f5121c5efcd
diff -r bb8e979df6df -r 0b8e51d3c0e8 WizFi250/WizFi250.cpp
--- a/WizFi250/WizFi250.cpp	Thu Jun 25 05:16:39 2015 +0000
+++ b/WizFi250/WizFi250.cpp	Fri Jun 26 04:19:01 2015 +0000
@@ -26,7 +26,7 @@
 WizFi250 * WizFi250::_inst;
 
 
-WizFi250::WizFi250(PinName tx,PinName rx,PinName cts, PinName rts,PinName reset, PinName alarm, int baud, mbed::Serial *debug):
+WizFi250::WizFi250(PinName tx,PinName rx,PinName cts, PinName rts,PinName reset, PinName alarm, int baud):
     _wizfi(tx,rx), _reset(reset)
 {
     _inst = this;
@@ -37,17 +37,6 @@
     _state.cid = -1;
     _state.buf = new CircBuffer<char>(CFG_DATA_SIZE);
 
-    if(debug == NULL)
-    {
-    	_debug = new Serial(USBTX,USBRX);
-    	_debug->baud(baud);
-    }
-    else
-    {
-    	_debug = debug;
-    	_debug->baud(baud);
-    }
-
     initUart(cts, rts, alarm, baud);
     wait_ms(500);