We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 07fb7c1 + 5da5ef4 commit 0aeb150Copy full SHA for 0aeb150
features/FEATURE_BLE/targets/TARGET_CORDIO/driver/H4TransportDriver.h
@@ -69,7 +69,11 @@ class H4TransportDriver : public CordioHCITransportDriver {
69
private:
70
void on_controller_irq();
71
72
- Serial uart;
+ // Use RawSerial as opposed to Serial as we don't require the locking primitives
73
+ // provided by the Serial class (access to the UART should be exclusive to this driver)
74
+ // Furthermore, we access the peripheral in interrupt context which would clash
75
+ // with Serial's locking facilities
76
+ RawSerial uart;
77
PinName cts;
78
PinName rts;
79
};
0 commit comments