linux-automation / lxa-iobus

Linux Automation IOBus server
https://lxa-iobus.readthedocs.io/en/latest/
Apache License 2.0
3 stars 4 forks source link

Use integer division and simplify integer packing/unpacking #7

Closed hnez closed 3 years ago

hnez commented 3 years ago

The current code uses floating point division and casting to int, this is more nicely done using integer divisions. While at it I've also streamlined the integer packing/unpacking utils.

Please consider merging the lgo/next branch instead of these individual PRs.