ads1115 only

Fork of mbed by mbed official

Revision:
123:b0220dba8be7
Parent:
122:f9eeca106725
--- a/platform.h	Thu Jul 07 14:34:11 2016 +0100
+++ b/platform.h	Fri Aug 12 13:04:35 2016 +0200
@@ -16,8 +16,6 @@
 #ifndef MBED_PLATFORM_H
 #define MBED_PLATFORM_H
 
-#define MBED_OPERATORS    1
-
 #include "device.h"
 #include "PinNames.h"
 #include "PeripheralNames.h"
@@ -27,31 +25,4 @@
 #include <cstdio>
 #include <cstring>
 
-#ifdef MBED_CONF_RTOS_PRESENT
-#include "Mutex.h"
-typedef rtos::Mutex PlatformMutex;
-#else
-/** A stub mutex for when an RTOS is not present
-*/
-class PlatformMutex {
-public:
-    PlatformMutex() {
-        // Stub
-
-    }
-    ~PlatformMutex() {
-        // Stub
-    }
-
-    void lock() {
-        // Do nothing
-    }
-
-    void unlock() {
-        // Do nothing
-    }
-};
-
 #endif
-
-#endif