Add transport sanity check before entering loop() (#1116)

This commit is contained in:
tekka
2018-05-01 22:33:26 +02:00
committed by Henrik Ekblad
parent 3c07390323
commit 153850de80
+1 -1
View File
@@ -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();