drivers: lora: sx12xx: fix atomic include

Include sys/atomic.h instead of sys/atomic_builtin.h, so that build for
platforms with non-default atomic implementation will still succeed.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
This commit is contained in:
Marcin Niestroj 2021-08-20 13:00:03 +02:00 committed by Anas Nashif
parent aa9a2aac0c
commit c910138ade

View file

@ -8,7 +8,7 @@
#include <drivers/gpio.h>
#include <drivers/lora.h>
#include <logging/log.h>
#include <sys/atomic_builtin.h>
#include <sys/atomic.h>
#include <zephyr.h>
/* LoRaMac-node specific includes */