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.
Diff: mbed-connector-interface/DeviceIntegerResource.h
- Revision:
- 15:c11dbe4d354c
- Parent:
- 14:d9ce4e56684e
- Child:
- 25:492acd2b0398
--- a/mbed-connector-interface/DeviceIntegerResource.h Thu Jun 09 19:05:18 2016 +0000
+++ b/mbed-connector-interface/DeviceIntegerResource.h Fri Jun 10 17:09:56 2016 +0000
@@ -66,9 +66,7 @@
*/
virtual void put(string value) {
sscanf(value.c_str(),"%d",&this->m_value);
- if (this->isObservable() == true) {
- this->observe();
- }
+ this->observe();
}
protected: