This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nrf_drv_twi.c - many warnings about the order of volatile accesses is undefined

Warning[Pa082]: undefined behavior: the order of volatile accesses is undefined in this statement C:\Projects\..\lib\nrf_drv_twi.c 273 

21 the same warnings. No errors. I believe, I forgot to connect one of the headers? But which one?

main.c headers

#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include "app_uart.h"
#include "app_error.h"
#include "nrf_delay.h"
#include "nrf.h"
#include "bsp.h"
#include "nordic_common.h"
#include "nrf_drv_twi.h"

libs: project .c files

softdevice S210 are programmed.

Thanks for answers!

Related