3rd Repo, trying to figure this out.

Dependencies:   LPS25H hts221

Fork of SOFT253_Template_Weather_OS_54 by Stage-1 Students SoCEM

Revision:
81:996c0a3319b4
Parent:
80:959151952153
Child:
83:0d3572a8a851
--- a/MessageLogger/MessageLogger.h	Wed May 10 10:02:22 2017 +0000
+++ b/MessageLogger/MessageLogger.h	Thu May 11 14:34:53 2017 +0000
@@ -1,5 +1,9 @@
+#ifndef MESSAGELOGGER_H
+#define MESSAGELOGGER_H
+
 #include "mbed.h"
 #include "rtos.h"
+
 #include <string>
 #include <sstream>
 #include <iostream>
@@ -12,8 +16,7 @@
        
         // public methods:
         void SendError(string errorMessage);
-        void SendMessage(string message);
-        void SendMessage(char message);
+        void SendMessage(char* message);
         bool GetError();
         bool GetMessage();
         void SetThread(Thread* logger);
@@ -25,8 +28,9 @@
         bool hasError;
         osStatus stat;
         char c;
-        Mutex *messageLock;
+        Mutex messageLock;
         
         void PrintError();
         void PrintMessage();
-};
\ No newline at end of file
+};
+#endif
\ No newline at end of file