Skip to content

Commit ea47ee0

Browse files
committed
Cypress BLE driver: Fix removal of mbed.h
1 parent 904b7f5 commit ea47ee0

File tree

1 file changed

+6
-1
lines changed
  • connectivity/drivers/ble/FEATURE_BLE/COMPONENT_CYW43XXX

1 file changed

+6
-1
lines changed

connectivity/drivers/ble/FEATURE_BLE/COMPONENT_CYW43XXX/HCIDriver.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,15 @@
2020
#include "hci_api.h"
2121
#include "hci_cmd.h"
2222
#include "hci_core.h"
23+
#include "dm_api.h"
2324
#include "bstream.h"
2425
#include <stdbool.h>
2526
#include "hci_mbed_os_adaptation.h"
2627
#include "CyH4TransportDriver.h"
28+
#include "platform/mbed_power_mgmt.h"
29+
#include "rtos/ThisThread.h"
30+
31+
using namespace std::chrono_literals;
2732

2833
extern const int brcm_patch_ram_length;
2934
extern const uint8_t brcm_patchram_buf[];
@@ -521,7 +526,7 @@ class HCIDriver : public CordioHCIDriver {
521526
}
522527

523528
PinName bt_power_name;
524-
DigitalInOut bt_power;
529+
mbed::DigitalInOut bt_power;
525530

526531
bool is_powersave_enabled;
527532
uint8_t host_wake_irq;

0 commit comments

Comments
 (0)