Skip to content
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

Not sure if this is fully correct. The C code does a single struct assignment. #2

Closed
todo bot opened this issue Dec 23, 2018 · 0 comments · Fixed by #52
Closed

Not sure if this is fully correct. The C code does a single struct assignment. #2

todo bot opened this issue Dec 23, 2018 · 0 comments · Fixed by #52

Comments

@todo
Copy link

todo bot commented Dec 23, 2018

xmc4-hal/src/rtc.rs

Lines 169 to 174 in 3e116d9

// TODO: Not sure if this is fully correct. The C code does a single struct assignment.
rtc.tim0.modify(|_, w| unsafe {
w.se().bits(time.second);
w.mi().bits(time.minute);
w.ho().bits(time.hour);
w.da().bits(time.day)


This issue was generated by todo based on a TODO comment in 3e116d9 when #1 was merged. cc @xmc-rs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

0 participants