asdasd

Fork of WiflyInterface by mbed official

Files at this revision

API Documentation at this revision

Comitter:
xemnas214
Date:
Wed Nov 23 01:06:59 2016 +0000
Parent:
1:fb4494783863
Commit message:
iotlockkkkk;

Changed in this revision

Wifly/Wifly.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Wifly/Wifly.cpp	Fri Aug 24 13:48:36 2012 +0000
+++ b/Wifly/Wifly.cpp	Wed Nov 23 01:06:59 2016 +0000
@@ -411,8 +411,10 @@
 void Wifly::handler_rx(void)
 {
     //read characters
-    while (wifi.readable())
-        buf_wifly.queue(wifi.getc());
+    while (wifi.readable()){
+        char c = LPC_UART3->RBR;
+        buf_wifly.queue(c);
+    }
 }
 
 void Wifly::attach_rx(bool callback)