Skip to content

Commit 153850d

Browse files
tekka007henrikekblad
authored andcommitted
Add transport sanity check before entering loop() (#1116)
1 parent 3c07390 commit 153850d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/MySensorsCore.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ void _begin(void)
177177
setup();
178178
}
179179
#if defined(MY_SENSOR_NETWORK)
180-
CORE_DEBUG(PSTR("MCO:BGN:INIT OK,TSP=%" PRIu8 "\n"), isTransportReady());
180+
CORE_DEBUG(PSTR("MCO:BGN:INIT OK,TSP=%" PRIu8 "\n"), isTransportReady() && transportSanityCheck());
181181
#else
182182
// no sensor network defined, call presentation & registration
183183
_callbackTransportReady();

0 commit comments

Comments
 (0)