byte[] array to uint16_t

Hello,

thanks for the help: To test if the endianness is correct, I can just reverse buf[3] and buf[4] in the code, right?

And: It should be byte[3] and byte[2], right? Indices start with zero...?

Thanks,
Andreas