Skip to content

Commit

Permalink
Delay: Some cleanups and documentation (esp-rs#376)
Browse files Browse the repository at this point in the history
* TickType: Make all functions const

* delay: Inline small functions

* Unexport the raw ets_delay_us()

The raw unsafe ets delay function is not useful in user programs.
Programs should use Ets::delay_us() instead.

* delay: Add some documentation comments

* delay: Implement Default for Delay
  • Loading branch information
mbuesch authored Feb 8, 2024
1 parent e6091c0 commit 81675cc
Showing 1 changed file with 136 additions and 17 deletions.
Loading

0 comments on commit 81675cc

Please sign in to comment.