The device will always use sequence number 0 for certain messages. We use this knowledge to filter the messages and assume that it is one of these special messages rather than a response to a command. However, we could end up sending a command with a sequence counter of 0 which would result in the response being ignored. Fix this by ensuring we correctly wrap from 255 to 1 instead of 0. Fixes: #358 |
||
---|---|---|
.. | ||
bmkt.h | ||
bmkt_message.c | ||
bmkt_message.h | ||
bmkt_response.h | ||
sensor.h | ||
synaptics.c | ||
synaptics.h |