OpenEtherCATsociety / SOES

Simple Open Source EtherCAT Slave
Other
559 stars 244 forks source link

Add fix for bitpos2byteoffset #140

Closed nakarlsson closed 1 year ago

nakarlsson commented 1 year ago

Can't use BITS2BYTE when calculating true bit offset in a byte. Instead add a new macro that don't round up to full byte size.

fixes #139