Skip to content

Better delay description #240

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

Merged
merged 4 commits into from
Jul 8, 2020
Merged

Better delay description #240

merged 4 commits into from
Jul 8, 2020

Conversation

therealprof
Copy link
Contributor

CC #236

Signed-off-by: Daniel Egger [email protected]

CC #236

Signed-off-by: Daniel Egger <[email protected]>
@therealprof therealprof requested a review from a team as a code owner July 8, 2020 22:02
@rust-highfive
Copy link

r? @korken89

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-cortex-m labels Jul 8, 2020
src/asm.rs Outdated
/// NOTE that the delay can take much longer if interrupts are serviced during its execution.
/// NOTE that the delay can take much longer if interrupts are serviced during its execution
/// and the execution time may wary with other factors. This delay is mainly useful for simple
/// timer-less initialisation of peripherals iff accurate timing is not essential. In any other
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// timer-less initialisation of peripherals iff accurate timing is not essential. In any other
/// timer-less initialization of peripherals if accurate timing is not essential. In any other

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, the iff is intended. I'm fine with changing the spelling to AE.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe expand it to "if and only if" then? iff tends to confuse people.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, I've never met anyone who was confused about that but sure, why not.

therealprof and others added 3 commits July 9, 2020 00:14
Copy link
Contributor

@jonas-schievink jonas-schievink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors r+

@bors
Copy link
Contributor

bors bot commented Jul 8, 2020

Build succeeded:

@bors bors bot merged commit 32634e4 into master Jul 8, 2020
@bors bors bot deleted the better-delay-description branch July 8, 2020 22:50
@adamgreig adamgreig mentioned this pull request Jul 20, 2020
bors bot added a commit that referenced this pull request Jul 20, 2020
249: More v0.6.3 backports r=jonas-schievink a=adamgreig

I think this includes the remainder of the non-breaking changes since v0.6.2, with a couple of exceptions:

* #240 seemed low-impact but had loads of separate commits to cherry-pick
* #220 is I think non-breaking but was quite a substantial change, perhaps I could still include it

~~I did include #226 which adds a new field to `Peripherals`, but as I understand it that should be a non-breaking change since it's non-exhaustive.~~

I've updated the CHANGELOG with all the changes from this PR and the previous #248.

Co-authored-by: Cliff L. Biffle <[email protected]>
Co-authored-by: Peter Taylor <[email protected]>
Co-authored-by: Hugues de Valon <[email protected]>
Co-authored-by: Jonas Schievink <[email protected]>
Co-authored-by: Adam Greig <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-cortex-m
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants