NUCLEO-F042K6 Simple demo writing Timer time to UART periodically using Ticker

Dependencies:   mbed

Revision:
3:906776a3481e
Parent:
2:e80bdfa0212c
Child:
4:fd43e0e4fe7d
diff -r e80bdfa0212c -r 906776a3481e main.cpp
--- a/main.cpp	Sat Feb 10 15:59:25 2018 +0000
+++ b/main.cpp	Sat Feb 10 15:59:44 2018 +0000
@@ -20,7 +20,7 @@
         tim->reset();
         time = tim->read_us();
     }
-    return time
+    return time;
 }
 
 // prints Timer value to UART (default UART->USB) Bd 9600, no parity, 1 stopbit