mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2026-01-01 01:41:18 +01:00
sys/transceiver: make transceiver_pid volatile
- because it is
This commit is contained in:
parent
153b577877
commit
232dd781ae
@ -200,7 +200,7 @@ typedef struct {
|
||||
} transceiver_command_t;
|
||||
|
||||
/* The transceiver thread's pid */
|
||||
extern kernel_pid_t transceiver_pid;
|
||||
extern volatile kernel_pid_t transceiver_pid;
|
||||
|
||||
/** An array of ignored link layer addresses */
|
||||
extern radio_address_t transceiver_ignored_addr[TRANSCEIVER_MAX_IGNORED_ADDR];
|
||||
|
||||
@ -88,7 +88,7 @@ msg_t msg_buffer[TRANSCEIVER_MSG_BUFFER_SIZE];
|
||||
|
||||
uint32_t response; ///< response bytes for messages to upper layer threads
|
||||
|
||||
kernel_pid_t transceiver_pid = KERNEL_PID_NULL; ///< the transceiver thread's pid
|
||||
volatile kernel_pid_t transceiver_pid = KERNEL_PID_NULL; ///< the transceiver thread's pid
|
||||
|
||||
static volatile uint8_t rx_buffer_pos = 0;
|
||||
static volatile uint8_t transceiver_buffer_pos = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user