Skip to content

Commit a263bc7

Browse files
committed
Restore logic for end() on STM32H7 boards (1DX module)
Amends f852716 and fixes #292
1 parent 289d3d6 commit a263bc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/utility/HCICordioTransport.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ void HCICordioTransportClass::end()
235235
bleLoopThread = NULL;
236236
}
237237

238-
#if defined(ARDUINO_PORTENTA_H7_M4) || defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION) || defined(ARDUINO_GIGA)
238+
#if !defined(TARGET_STM32H7)
239239
CordioHCIHook::getDriver().terminate();
240240
#endif
241241

0 commit comments

Comments
 (0)