jkristell / infrared

Infrared remote control library for embedded Rust
Apache License 2.0
56 stars 10 forks source link

utils.rs: Prevent overflow in infra_range #68

Closed jhillyerd closed 3 years ago

jhillyerd commented 3 years ago

Prevents a samplerate of 1_000_000 from triggering an overflow.

Closes #67.

jhillyerd commented 3 years ago

obsoleted by #69