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

A useless and weighty line #47

Open
karasevia opened this issue Sep 14, 2024 · 1 comment
Open

A useless and weighty line #47

karasevia opened this issue Sep 14, 2024 · 1 comment

Comments

@karasevia
Copy link

@karasevia
Copy link
Author

Кажется, что можно заменить эту функцию на дефайн формата

volatile uint32_t timer = 80000; while(--timer);

Уже будет меньше ресурсов тратиться.
Но даже так, эта задержка все равно бесполезна.
Нужно заново считывать значение с PC0

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

No branches or pull requests

1 participant