Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: C027 C12832 EthernetInterface StatusReporter LM75B MQTT-ansond endpoint_core endpoint_mqtt mbed-rtos mbed
Diff: MBEDEndpoint.cpp
- Revision:
- 151:75b96c3419ae
- Parent:
- 148:b09187a0fa77
- Child:
- 154:bae16d6519dd
--- a/MBEDEndpoint.cpp Thu Mar 20 01:47:12 2014 +0000
+++ b/MBEDEndpoint.cpp Thu Mar 20 02:24:57 2014 +0000
@@ -81,7 +81,7 @@
MBEDToIOCResourceMap *MBEDEndpoint::getMap() { return this->m_map; }
// initialize our preferences
- void MBEDEndpoint::initPreferences() { if (this->m_preferences == NULL) this->m_preferences = new Preferences(this->logger()); }
+ void MBEDEndpoint::initPreferences() { if (this->m_preferences == NULL) this->m_preferences = new Preferences(this->logger()); if (this->m_preferences != NULL) this->m_preferences->fixCoordsForIOC(); }
// get our preferences
Preferences *MBEDEndpoint::preferences() { return this->m_preferences; }