Add transport sanity check before entering loop() (#1116)
This commit is contained in:
@@ -177,7 +177,7 @@ void _begin(void)
|
||||
setup();
|
||||
}
|
||||
#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
|
||||
// no sensor network defined, call presentation & registration
|
||||
_callbackTransportReady();
|
||||
|
||||
Reference in New Issue
Block a user