analogdevicesinc / EVAL-ADICUP3029

This repo includes examples which run on the EVAL-ADICUP3029 ARM Cortex-M3 processor development platform from Analog Devices.
https://wiki.analog.com/resources/eval/user-guides/eval-adicup3029
Other
38 stars 63 forks source link

cn0401_demo: fix receive function bug #51

Closed adrimbarean closed 4 years ago

adrimbarean commented 4 years ago

Cast object layer data pointer to (uint8_t *) before incrementing it past the message header to ensure correct incrementation (12 and 8 bytes, respectively, instead of 48 and 32).

Signed-off-by: Andrei Drimbarean Andrei.Drimbarean@analog.com

adrimbarean commented 4 years ago

V1: