Skip to content

Commit

Permalink
Update boards/nano33ble/src/main.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Leon Schuermann <leon@is.currently.online>
  • Loading branch information
hudson-ayers and lschuermann committed Nov 30, 2020
1 parent 668fa8f commit 4fefbfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boards/nano33ble/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ pub unsafe fn reset_handler() {
.finalize(());

let serial_num = nrf52840::ficr::FICR_INSTANCE.address();
let serial_num_bottom_16 = serial_num[0] as u16 + ((serial_num[1] as u16) << 8);
let serial_num_bottom_16 = u16::from_le_bytes([serial_num[0], serial_num[1]]);
let (ieee802154_radio, _mux_mac) = components::ieee802154::Ieee802154Component::new(
board_kernel,
&base_peripherals.ieee802154_radio,
Expand Down

0 comments on commit 4fefbfa

Please sign in to comment.