nRF 16MHz clock is used by both BLE radio and temperature sensor. During BLE connection if the temperature sensor is also used then at some point assert condition is hit in temp_nrf5_sample_fetch(). The error code -EBUSY seen during clock_control_off() is that clock is no longer needed for the temperature sensor, but it cannot be just turned off because it is still needed for BLE connection. Signed-off-by: Dhananjay Gundapu Jayakrishnan <dhananjay.jayakrishnan@proglove.de> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| temp_nrf5.c | ||