File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2525#include < driver/CordioHCITransportDriver.h>
2626#include < driver/CordioHCIDriver.h>
2727
28- #if defined(ARDUINO_PORTENTA_H7_M4) || defined(ARDUINO_PORTENTA_H7_M7)
28+ #if defined(ARDUINO_PORTENTA_H7_M4) || defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION)
2929#include " ble/BLE.h"
3030#include < events/mbed_events.h>
3131#endif
@@ -181,7 +181,7 @@ HCICordioTransportClass::~HCICordioTransportClass()
181181{
182182}
183183
184- #if defined(ARDUINO_PORTENTA_H7_M4) || defined(ARDUINO_PORTENTA_H7_M7)
184+ #if defined(ARDUINO_PORTENTA_H7_M4) || defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION)
185185events::EventQueue eventQueue (10 * EVENTS_EVENT_SIZE);
186186void scheduleMbedBleEvents (BLE::OnEventsToProcessCallbackContext *context) {
187187 eventQueue.call (mbed::Callback<void ()>(&context->ble , &BLE::processEvents));
@@ -201,7 +201,7 @@ int HCICordioTransportClass::begin()
201201 init_wsf (bufPoolDesc);
202202#endif
203203
204- #if defined(ARDUINO_PORTENTA_H7_M4) || defined(ARDUINO_PORTENTA_H7_M7)
204+ #if defined(ARDUINO_PORTENTA_H7_M4) || defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION)
205205 BLE &ble = BLE::Instance ();
206206 ble.onEventsToProcess (scheduleMbedBleEvents);
207207
You can’t perform that action at this time.
0 commit comments