Skip to content

Commit

Permalink
Don't terminate CordioHCIHook::getDriver() on end() for Murata chips
Browse files Browse the repository at this point in the history
  • Loading branch information
facchinm committed May 23, 2022
1 parent 2b72c94 commit afccc49
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/utility/HCICordioTransport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,10 @@ void HCICordioTransportClass::end()
delete bleLoopThread;
bleLoopThread = NULL;
}

#if !defined(ARDUINO_PORTENTA_H7_M4) && !defined(ARDUINO_PORTENTA_H7_M7) && !defined(ARDUINO_NICLA_VISION)
CordioHCIHook::getDriver().terminate();
#endif

_begun = false;
}
Expand Down

0 comments on commit afccc49

Please sign in to comment.