Portado para MBED OS 6

Dependents:   Navitec-Firmware

Revision:
5:58c5158b5120
Parent:
0:e83acb8d505c
Child:
6:3fdb7f0f121a
--- a/DigiLoggerMbedSerial.cpp	Mon May 18 13:16:43 2015 +0200
+++ b/DigiLoggerMbedSerial.cpp	Mon Jun 01 18:59:28 2015 +0200
@@ -29,14 +29,15 @@
 /* Class destructor */
 DigiLoggerMbedSerial::~DigiLoggerMbedSerial()
 {
-    _log_serial = nullptr;
-    DigiLogger::current_logger = nullptr;
+    _log_serial = NULL;
+    DigiLogger::current_logger = NULL;
 }
 
 void DigiLoggerMbedSerial::log_buffer(char const * const buffer)
 {
-    if (_log_serial == nullptr)
+    if (_log_serial == NULL) {
         return;
+    }
 
     _log_serial->printf("%s", buffer);
     fflush(*_log_serial);