Hi,
thank you for your work.
I have a question though: could you please explain the uint8_t* to uint16_t* cast happening here ?
If depth is stored as an uint8_t, reading and writing it as an uint16_t won't have the expected outcome.
What am I missing?
Thanks,