In PiBridgeMaster_setDefaults() dont use a INT8U variable to calculate the
offset of a bit within the shared memory segment (aka "process image").
This distorts all values which are greater than 255.
Instead use an unsigned int to provide the max possible offset within the
memory segment.
In PiBridgeMaster_setDefaults() dont use a INT8U variable to calculate the offset of a bit within the shared memory segment (aka "process image"). This distorts all values which are greater than 255. Instead use an unsigned int to provide the max possible offset within the memory segment.
Signed-off-by: Lino Sanfilippo l.sanfilippo@kunbus.com