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: Preferences.cpp
- Revision:
- 184:b73d6c976063
- Parent:
- 155:582462821bd7
- Child:
- 192:54b758a8eaaa
--- a/Preferences.cpp Sat Sep 13 04:27:19 2014 +0000 +++ b/Preferences.cpp Sun Sep 14 15:10:31 2014 +0000 @@ -19,14 +19,18 @@ #include "mbed.h" #include "Preferences.h" - #ifndef _ENDPOINT_UBLOX_PLATFORM + #ifdef _ENDPOINT_UBLOX_PLATFORM + #define NO_LOCAL_FILESYSTEM true + #endif + + #ifndef NO_LOCAL_FILESYSTEM LocalFileSystem local("local"); #endif // default constructor Preferences::Preferences(ErrorHandler *error_handler) : BaseClass(error_handler,NULL) { this->m_num_preferences = 0; -#ifndef _ENDPOINT_UBLOX_PLATFORM +#ifndef NO_LOCAL_FILESYSTEM this->initialize(); #endif }