nRF52-fds-example
nRF52-fds-example copied to clipboard
write_flag blocks in main
Hi, I have tested the FDS part of this code on nrf51/SDK11. I found it needs the volatile keyword to write_flag declaration in order to work, otherwise the flag is raised in the my_fds_evt_handler interrupt callback but the main will remain block in the flag test. Hope this help.
Regards, Bruno
Hi Bruno,
You are right, volatile needed for the flag. Will update. Thanks for pointing out.
Regards, Hung