Skip to content

Commit afccc49

Browse files
committed
Don't terminate CordioHCIHook::getDriver() on end() for Murata chips
1 parent 2b72c94 commit afccc49

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: src/utility/HCICordioTransport.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,10 @@ void HCICordioTransportClass::end()
234234
delete bleLoopThread;
235235
bleLoopThread = NULL;
236236
}
237+
238+
#if !defined(ARDUINO_PORTENTA_H7_M4) && !defined(ARDUINO_PORTENTA_H7_M7) && !defined(ARDUINO_NICLA_VISION)
237239
CordioHCIHook::getDriver().terminate();
240+
#endif
238241

239242
_begun = false;
240243
}

0 commit comments

Comments
 (0)