diff options
| author | Ulf Lilleengen <[email protected]> | 2025-12-18 17:31:16 +0100 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2025-12-18 17:32:45 +0100 |
| commit | 01d8543bc71d003b6f3aad50d17ff4fd0fa7461a (patch) | |
| tree | 8cbc3a344ebfd7e5842da1f5b7bc70cc608af29c /embassy-stm32 | |
| parent | b5b49cbcf3a991bf6d434b0870da50f3ee722612 (diff) | |
fix: avoid hang if calling now() before syscounter is enabled
If the time driver now() is called before the syscounter is enabled on nrf54,
it would hang. The fix checks if syscounter is enabled, and returns 0
if not.
Diffstat (limited to 'embassy-stm32')
0 files changed, 0 insertions, 0 deletions
