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

nrf24L01_plus and AVR Studio 6 issue and solution #5

Open
Karpesh opened this issue May 2, 2014 · 0 comments
Open

nrf24L01_plus and AVR Studio 6 issue and solution #5

Karpesh opened this issue May 2, 2014 · 0 comments

Comments

@Karpesh
Copy link

Karpesh commented May 2, 2014

In AVR Studio 6 instead of the string

uint8_t payload_len;

needs

volatile uint8_t payload_len=1;

I spent two days to figure out it.
In other cases the global variable "payload_len" didn't assign in function "nrf24_config".

Please pay attention that variants:
volatile uint8_t payload_len;
or
volatile uint8_t payload_len=1;
didn't work too!

only


volatile uint8_t payload_len=1;


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