Merged
Conversation
Member
Author
|
actually its not required, so we may proceed with this one first? |
81d1d03 to
53e7729
Compare
53e7729 to
ab6fb22
Compare
kaspar030
requested changes
Jun 19, 2017
| * | ||
| * The direction of the shift is handled by the macros in tick_conversion.h | ||
| */ | ||
| #define XTIMER_SHIFT (0) |
Contributor
There was a problem hiding this comment.
please make this case explicit, and err out if the shift values cannot be computed. Otherwise this breaks with e.g., 500kHz.
Member
Author
There was a problem hiding this comment.
good point, will adapt. Btw. 500kHz would be XTIMER_SHIFT (1) which is covered above, but not mentioned in the docu 😕
Member
Author
|
@kaspar030 may I squash? ... and you ACK 😉 |
e30374f to
e2b6d00
Compare
Member
Author
|
can we move on with this? |
- auto set XTIMER_SHIFT relative to XTIMER_HZ
- refine setting of XTIMER_WIDTH
e2b6d00 to
b012cdb
Compare
Member
Author
|
rebased |
Member
Author
|
ping @kaspar030 |
Member
Author
|
@kaspar030 you have a blocking review here, anything to add, otherwise please approve. |
kaspar030
approved these changes
Oct 5, 2017
Contributor
|
So we forgot #6507 ? 🙄 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR refines some config macros for xtimer, i.e., XTIMER_SHIFT is auto set relative to XTIMER_HZ.