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

Use of digitalRead on STM Pin instead of Deck Pin #336

Closed
sdalu opened this issue Jun 20, 2018 · 2 comments
Closed

Use of digitalRead on STM Pin instead of Deck Pin #336

sdalu opened this issue Jun 20, 2018 · 2 comments
Milestone

Comments

@sdalu
Copy link
Contributor

sdalu commented Jun 20, 2018

IRQ check loop in locodeck is only done once

do{
dwHandleInterrupt(dwm);
} while(digitalRead(GPIO_PIN_IRQ) != 0);

due to use of digitalRead

int digitalRead(uint32_t pin)
{
if (pin > 13) {
return LOW;
}

@ataffanel
Copy link
Member

Thanks for catching that! We should use the stm32 periph lib GPIO api instead of the deck API there.

@krichardsson
Copy link
Contributor

Fixed in #368

@krichardsson krichardsson added this to the next-release milestone Aug 18, 2020
cafeciaojoe pushed a commit to cafeciaojoe/crazyflie-firmware that referenced this issue Sep 27, 2024
Put roll and pitch trim increment to 0.2
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

3 participants