I have a function like this:
void myFunction(uint16_t buf[]) {
uint16_t size = sizeof(buf)
}
However, the size that gets calculated is wrong, shows 4 instead of the correct value (which is around 100).
When I use the the same line
uint16_t size = sizeof(myArray)
Could someone with more experience in c help me out?
Thanks in advance!
v
http://diy.viktak.com