Core Base Classes for the Light Endpoints
Dependents: mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more
Diff: ErrorHandler.h
- Revision:
- 166:8e63cd2c003a
- Parent:
- 160:24337c83dd1d
- Child:
- 179:35e88daf2d75
--- a/ErrorHandler.h Thu Jul 03 18:00:16 2014 +0000 +++ b/ErrorHandler.h Thu Jul 03 18:35:47 2014 +0000 @@ -41,9 +41,10 @@ #define LCDCLASS C12832_LCD #endif -#ifdef EH_USE_MUTEXES -// Mutex support -#include "rtos.h" +#if defined(EH_USE_MUTEXES) || defined(NETWORK_MUTEX) || defined(ENABLE_THREADS) || defined(NSP_CELLULAR_NETWORK) + // RTOS support + #include "mbed.h" + #include "rtos.h" #endif class ErrorHandler {