Commit 9073465
drivers/nrf5x/phy: use nrf52_clock_hfxo_request|release if PEBBLEOS
On PebbleOS we need reference counted access to HFXO because other parts
of the system rely on it (I2S). It seems like this needs a more generic
solution (maybe a porting layer function?), as on a sufficiently complex
system this will likely be needed. For now adding PEBBLEOS define check,
similar to what was done for RIOT.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>1 parent e48a0af commit 9073465
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2319 | 2319 | | |
2320 | 2320 | | |
2321 | 2321 | | |
2322 | | - | |
| 2322 | + | |
2323 | 2323 | | |
2324 | 2324 | | |
2325 | 2325 | | |
| |||
2334 | 2334 | | |
2335 | 2335 | | |
2336 | 2336 | | |
2337 | | - | |
| 2337 | + | |
2338 | 2338 | | |
2339 | 2339 | | |
2340 | 2340 | | |
| |||
0 commit comments