jkristell / infrared

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

Use const generics in InfraRange #69

Closed jkristell closed 3 years ago

jkristell commented 3 years ago

Should also fix #67

dotcypress commented 3 years ago

Also it would be great to use const generics in PulsedataBuffer for internal buffer size, cause 194 byte of RAM is a fortune for some of mcu's 😄

jkristell commented 3 years ago

Also it would be great to use const generics in PulsedataBuffer for internal buffer size, cause 194 byte of RAM is a fortune for some of mcu's smile

It really should. Did a quick implementation of it. Not tested on hardware yet. https://github.com/jkristell/infrared/tree/const-generic-buffer