Charles Tritt / Mbed 2 deprecated WaitTest

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
CSTritt
Date:
Fri Oct 27 13:58:40 2017 +0000
Parent:
0:1917e5873a6e
Commit message:
Modified comments to indicate improper printf use.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 1917e5873a6e -r 7ae3a9b9b2b0 main.cpp
--- a/main.cpp	Fri Oct 27 13:57:13 2017 +0000
+++ b/main.cpp	Fri Oct 27 13:58:40 2017 +0000
@@ -32,5 +32,6 @@
     static int cbCount = 0; // Initialized on load. Remembered between calls.
     cbCount++; // Increment call back counter.
     if (cbCount == 11) cbCount = 1; // Reset every 10 times.
+    // Note: printf should not be used in interrupt style callbacks!
     printf("In ticker callback loop. Count = %d.\n", cbCount);
 }
\ No newline at end of file