Spin2: Get Specific Byte from Word or Long?
I'm attempting to port some P1 code to the P2. This line throws an error in PNut v34f:
The reference to .byte causes a problem. I can code around this specific situation, but it would be nice to know that, as in Spin1, I can extract any byte from any word or long.
if (checksum.byte == buffer[BUF_LEN-1])