Add to 11U68 11E68
Dependencies: DirectoryList MODSERIAL mbed
Fork of ika_shouyu_poppoyaki by
Diff: serial_utilities.cpp
- Revision:
- 26:a63e73885b21
- Parent:
- 22:bd98a782fba6
- Child:
- 28:689c3880e0e4
--- a/serial_utilities.cpp Fri Sep 13 03:51:14 2013 +0000 +++ b/serial_utilities.cpp Fri Sep 13 12:56:23 2013 +0000 @@ -13,6 +13,11 @@ MODSERIAL target( p28, p27 ); // #endif +Timeout timeout; + +int timeout_flag = 0; + + void set_target_baud_rate( int baud_rate ) { target.baud( baud_rate ); @@ -53,10 +58,6 @@ } -Timeout timeout; - -int timeout_flag = 0; - void set_flag() { timeout_flag = 1;