tetete

Dependencies:   FIFO

Files at this revision

API Documentation at this revision

Comitter:
babylonica
Date:
Fri Jun 23 08:07:17 2017 +0000
Parent:
8:7390f9bb28d3
Child:
10:1baa8e833ac6
Child:
11:690c3439cfd2
Commit message:
Bug Fixed: Cant use wait().

Changed in this revision

AsyncSerial.cpp Show annotated file Show diff for this revision Revisions of this file
AsyncSerial.hpp Show annotated file Show diff for this revision Revisions of this file
FIFO.lib Show annotated file Show diff for this revision Revisions of this file
--- a/AsyncSerial.cpp	Sat Jun 17 11:44:36 2017 +0000
+++ b/AsyncSerial.cpp	Fri Jun 23 08:07:17 2017 +0000
@@ -154,7 +154,7 @@
 }
 
 void AsyncSerial::wait(void){
-	while( fifo_rx.available() > 0 ){}
+	while( fifo_tx.available() > 0 ){}
 	return;
 }
 
--- a/AsyncSerial.hpp	Sat Jun 17 11:44:36 2017 +0000
+++ b/AsyncSerial.hpp	Fri Jun 23 08:07:17 2017 +0000
@@ -8,6 +8,7 @@
  @date		2017-03-29	T.Kawamura	Written for C++/mbed.
  @date		2017-03-30	T.Kawamura	Bug Fixed: Cannot use format(), baud().
  @date		2017-06-17	T.Kawamura	Update: FIFO Buffer Fixed.
+ @date		2017-06-23	T.Kawamura	Bug Fixed: Cant use wait().
  @see 
  Copyright (C) 2017 T.Kawamura.
  Released under the MIT license.
--- a/FIFO.lib	Sat Jun 17 11:44:36 2017 +0000
+++ b/FIFO.lib	Fri Jun 23 08:07:17 2017 +0000
@@ -1,1 +1,1 @@
-https://mbed.org/users/babylonica/code/FIFO/#fa27aa055777
+https://mbed.org/users/babylonica/code/FIFO/#137a7245f990