cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
307 Views
Registered: ‎08-16-2017

Potential bug in dp159.c mipi example?

I am not sure if this was reported, but browsing through the example of MIPI subsytem RX

https://github.com/Xilinx/embeddedsw/tree/master/XilinxProcessorIPLib/drivers/mipicsiss/examples/xmipi_ref_design

The calls to the AXI I2C standalone drivers in file dp159.c seem to always use (u8 *) &buf as address to the buffer while it should be &buf[0] without the need for explicit recasting to u8*.

The former is the address of the pointer to the array, while the API expect the pointer to the array.

 

Is this correct?

0 Kudos
0 Replies