File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 25
25
#include < driver/CordioHCITransportDriver.h>
26
26
#include < driver/CordioHCIDriver.h>
27
27
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)
29
29
#include " ble/BLE.h"
30
30
#include < events/mbed_events.h>
31
31
#endif
@@ -181,7 +181,7 @@ HCICordioTransportClass::~HCICordioTransportClass()
181
181
{
182
182
}
183
183
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)
185
185
events::EventQueue eventQueue (10 * EVENTS_EVENT_SIZE);
186
186
void scheduleMbedBleEvents (BLE::OnEventsToProcessCallbackContext *context) {
187
187
eventQueue.call (mbed::Callback<void ()>(&context->ble , &BLE::processEvents));
@@ -201,7 +201,7 @@ int HCICordioTransportClass::begin()
201
201
init_wsf (bufPoolDesc);
202
202
#endif
203
203
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)
205
205
BLE &ble = BLE::Instance ();
206
206
ble.onEventsToProcess (scheduleMbedBleEvents);
207
207
You can’t perform that action at this time.
0 commit comments