Skip to content

Commit 970527d

Browse files
committed
Fix issue with recursive call detected while _process()
display recusive warning !MCO:PRO:RC=1 while wait() e.g. in request presentation from node
1 parent a1478f3 commit 970527d

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
@@ -57,7 +57,7 @@ void _callbackTransportReady(void)
5757
void _process(void)
5858
{
5959
#if defined(MY_DEBUG_VERBOSE_CORE)
60-
if (processLock) {
60+
if (processLock && waitLock != 1) {
6161
CORE_DEBUG(PSTR("!MCO:PRO:RC=%" PRIu8 "\n"), processLock); // recursive call detected
6262
}
6363
processLock++;

0 commit comments

Comments
 (0)