-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WMODE not entirely correct #98
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Technically the following line would have to set
NVMCTRL_CTRLA_WMODE_MAN_Val
instead ofNVMCTRL_CTRLA_WMODE_MAN
, because the latter is already shifted and therefore not meant to be written to the bitfield. This only worked, becauseNVMCTRL_CTRLA_WMODE_MAN_Val
is 0x0, otherwise this would not have worked.uf2-samdx1/src/selfmain.c
Line 91 in df89a1f
I know this is nitpicky since it works, but this code would break down if somebody used it as a reference and tried to use another mode.
The text was updated successfully, but these errors were encountered: