Skip to content

Commit

Permalink
preserve pmscctrl0[1] on lde load
Browse files Browse the repository at this point in the history
  • Loading branch information
cimbalo committed Feb 13, 2017
1 parent 062acee commit fe1b830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DW1000.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ void DW1000Class::manageLDE() {
writeBytes(OTP_IF, OTP_CTRL_SUB, otpctrl, 2);
delay(5);
pmscctrl0[0] = 0x00;
pmscctrl0[1] = 0x02;
pmscctrl0[1] &= 0x02;
writeBytes(PMSC, PMSC_CTRL0_SUB, pmscctrl0, 2);
}

Expand Down

0 comments on commit fe1b830

Please sign in to comment.