Add transport sanity check before entering loop() (#1116)
This commit is contained in:
@@ -177,7 +177,7 @@ void _begin(void)
|
|||||||
setup();
|
setup();
|
||||||
}
|
}
|
||||||
#if defined(MY_SENSOR_NETWORK)
|
#if defined(MY_SENSOR_NETWORK)
|
||||||
CORE_DEBUG(PSTR("MCO:BGN:INIT OK,TSP=%" PRIu8 "\n"), isTransportReady());
|
CORE_DEBUG(PSTR("MCO:BGN:INIT OK,TSP=%" PRIu8 "\n"), isTransportReady() && transportSanityCheck());
|
||||||
#else
|
#else
|
||||||
// no sensor network defined, call presentation & registration
|
// no sensor network defined, call presentation & registration
|
||||||
_callbackTransportReady();
|
_callbackTransportReady();
|
||||||
|
|||||||
Reference in New Issue
Block a user