rust-exercises icon indicating copy to clipboard operation
rust-exercises copied to clipboard

Typo in radio-puzzle-1

Open jonathanpallant opened this issue 9 months ago • 0 comments

This line:

https://github.com/ferrous-systems/rust-exercises/blob/dd422740c21c6d8a24534638a0483f61eee8b8e0/nrf52-code/radio-app/src/bin/radio-puzzle-1.rs#L36

should read:

let output = data[0];

Not packet[0]. It will compile, but you'll get the first byte of the reply address and not the first byte of the payload.

jonathanpallant avatar May 22 '24 15:05 jonathanpallant