Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sleep for a short time when defmt buffer is empty to reduce CPU usage
Interfacing with probe is a busy-loop, therefore the least we can do is to sleep for a short period when defmt buffer read returns no data. This lowers process' CPU usage to ~15% instead of previous full utilization.
- Loading branch information