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

Linux: RF24 interrupt trigger workaround #1094

Merged
merged 1 commit into from
Mar 27, 2018

Conversation

marceloaqno
Copy link
Member

Fix #870

@@ -423,13 +423,28 @@ LOCAL void RF24_irqHandler(void)
// 1.Read payload, 2.Clear RX_DR IRQ, 3.Read FIFO_status, 4.Repeat when more data available.
// Datasheet (ch. 8.5) states, that the nRF de-asserts IRQ after reading STATUS.

#if defined(__linux__)
Copy link
Member

Choose a reason for hiding this comment

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

Is there a reason we can't do the same for non-linux nodes?

Copy link
Member Author

Choose a reason for hiding this comment

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

There is a small chance of losing packages, but since Linux is not a real-time system, we'll need a workaround

@mfalkvidd mfalkvidd merged commit b5a2fc2 into mysensors:development Mar 27, 2018
@marceloaqno marceloaqno deleted the rpi-int-workaround branch March 27, 2018 21:19
fallberg pushed a commit that referenced this pull request Jun 18, 2018
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