Skip to content
This repository was archived by the owner on Jul 6, 2019. It is now read-only.

Fix for flash clock config at frequency 20<x<=40 #107

Merged
merged 1 commit into from
Jul 17, 2014
Merged

Fix for flash clock config at frequency 20<x<=40 #107

merged 1 commit into from
Jul 17, 2014

Conversation

blaxill
Copy link
Contributor

@blaxill blaxill commented Jul 16, 2014

Original code had a typo.

@bharrisau
Copy link
Contributor

Thanks for this, I'm surprised there wasn't a warning for unreachable code. Any chance you can reply with a link to the relevant datasheet, lpc17xx isn't my platform.

@blaxill
Copy link
Contributor Author

blaxill commented Jul 17, 2014

http://www.nxp.com/documents/user_manual/UM10360.pdf
Table 49 on Page 71

Function looks correct now to me.

@bharrisau
Copy link
Contributor

Thanks.

hacknbot added a commit that referenced this pull request Jul 17, 2014
Fix for flash clock config at frequency 20<x<=40

Reviewed-by: bharrisau
@hacknbot hacknbot merged commit 5020ff8 into hackndev:master Jul 17, 2014
@farcaller
Copy link
Member

Thanks for finding that!

PS: I filed rust-lang/rust#15736 for rust, I wonder if the compiler could do anything to prevent this.

@blaxill blaxill deleted the patch-1 branch July 17, 2014 18:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants