fork of Sam Grove's library

Fork of LogUtil by Sam Grove

Files at this revision

API Documentation at this revision

Comitter:
raprism
Date:
Tue Jan 10 22:19:48 2017 +0100
Parent:
7:ef45bd2cd9bb
Commit message:
- fix case of __NOP command

Changed in this revision

LogUtil.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/LogUtil.cpp	Fri May 10 18:36:27 2013 +0000
+++ b/LogUtil.cpp	Tue Jan 10 22:19:48 2017 +0100
@@ -26,7 +26,7 @@
 LogUtil::LogUtil(Serial &serial, uint32_t baudrate)
 {
     _serial = &serial;
-    (baudrate > 0) ? _serial->baud(baudrate) : __nop();
+    (baudrate > 0) ? _serial->baud(baudrate) : __NOP();
     _serial->printf("\033[2J");  // clear the terminal
     _serial->printf("\033[1;1H");// and set the cursor to home
     wait(0.5f);
@@ -34,4 +34,4 @@
 }
      
  
- 
\ No newline at end of file
+