private fork

Fork of GSwifiInterface by gs fan

Revision:
11:71d67fea5ace
Parent:
8:64184a968e3b
Child:
12:057089026a20
--- a/GSwifi/GSwifi_hal.cpp	Thu Oct 31 08:34:45 2013 +0000
+++ b/GSwifi/GSwifi_hal.cpp	Fri Nov 15 04:20:14 2013 +0000
@@ -107,7 +107,7 @@
         }
     }
 
-#ifdef RTOS_H
+#ifdef CFG_ENABLE_RTOS
     if (_mutexUart.lock(ms) != osOK) return -1;
 #endif
 
@@ -137,13 +137,14 @@
             }
         }
     }
+
     setRts(false);
     return 0;
 }
 
 void GSwifi::unlockUart () {
     setRts(true);
-#ifdef RTOS_H
+#ifdef CFG_ENABLE_RTOS
     _mutexUart.unlock();
 #endif
 }