use TCP to connect to mbed connector
Fork of mbedConnectorInterfaceWithDM by
Diff: source/DynamicResource.cpp
- Revision:
- 16:dffa38c3340f
- Parent:
- 15:c11dbe4d354c
- Child:
- 17:defb680f8fce
--- a/source/DynamicResource.cpp Fri Jun 10 17:09:56 2016 +0000 +++ b/source/DynamicResource.cpp Fri Jun 10 18:53:01 2016 +0000 @@ -346,7 +346,7 @@ // default observe behavior void DynamicResource::observe() { - if (this->m_observable == true /* && this->isRegistered() == true */) { + if (this->m_observable == true && this->isRegistered() == true) { this->notify(this->get()); } }