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

Fix timer naming so they are indexed from 1 and aligned with firmware #1833

Merged
merged 2 commits into from
Sep 29, 2023

Conversation

DzikuVx
Copy link
Member

@DzikuVx DzikuVx commented Sep 29, 2023

image

@DzikuVx DzikuVx added this to the 7.0 milestone Sep 29, 2023
@mmosca
Copy link
Collaborator

mmosca commented Sep 29, 2023

I didn't call it TIMn on purpose, to detach it from the definition in the source code.
AT32 uses TMR instead of TIM, and the command line is 0 based.

So using a 0 based numbering and not calling it TIM, gives you a direct relationship to the command line, which the user is more likely to interface with than the source.

@DzikuVx DzikuVx merged commit 6b95d21 into master Sep 29, 2023
@DzikuVx DzikuVx deleted the dzikuvx-fix-timer-naming branch September 29, 2023 18:01
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 this pull request may close these issues.

2 participants