Fix regression, adjust parameters, typos (#699)

This commit is contained in:
Olivier
2016-12-20 23:15:11 +01:00
committed by Henrik Ekblad
parent d204929937
commit 61e6cecb3f
5 changed files with 33 additions and 28 deletions
+2 -2
View File
@@ -40,9 +40,7 @@ void _callbackTransportReady(void)
{
if (!_coreConfig.presentationSent) {
presentNode();
#if !defined(MY_GATEWAY_FEATURE)
_registerNode();
#endif
_coreConfig.presentationSent = true;
}
}
@@ -153,6 +151,8 @@ void _begin(void)
#if defined(MY_SENSOR_NETWORK)
CORE_DEBUG(PSTR("MCO:BGN:INIT OK,TSP=%d\n"), isTransportReady());
#else
// no sensor network defined, call presentation & registration
_callbackTransportReady();
CORE_DEBUG(PSTR("MCO:BGN:INIT OK,TSP=NA\n"));
#endif
// reset wdt before handing over to loop