The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Revision:
170:e95d10626187
Parent:
165:d1b4690b3f8b
Child:
172:65be27845400
diff -r a7c7b631e539 -r e95d10626187 platform/CriticalSectionLock.h
--- a/platform/CriticalSectionLock.h	Fri Jun 22 15:38:59 2018 +0100
+++ b/platform/CriticalSectionLock.h	Thu Sep 06 13:39:34 2018 +0100
@@ -57,12 +57,12 @@
   */
 class CriticalSectionLock {
 public:
-    CriticalSectionLock() 
+    CriticalSectionLock()
     {
         core_util_critical_section_enter();
     }
 
-    ~CriticalSectionLock() 
+    ~CriticalSectionLock()
     {
         core_util_critical_section_exit();
     }
@@ -72,8 +72,8 @@
      *
      */
     MBED_DEPRECATED_SINCE("mbed-os-5.8",
-            "This function is inconsistent with RAII and is being removed in the future."
-            "Replaced by static function CriticalSectionLock::enable.")
+                          "This function is inconsistent with RAII and is being removed in the future."
+                          "Replaced by static function CriticalSectionLock::enable.")
     void lock()
     {
         core_util_critical_section_enter();
@@ -84,8 +84,8 @@
      *
      */
     MBED_DEPRECATED_SINCE("mbed-os-5.8",
-            "This function is inconsistent with RAII and is being removed in the future."
-            "Replaced by static function CriticalSectionLock::disable.")
+                          "This function is inconsistent with RAII and is being removed in the future."
+                          "Replaced by static function CriticalSectionLock::disable.")
     void unlock()
     {
         core_util_critical_section_exit();