We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bf8796b + fd03fd5 commit 887f64eCopy full SHA for 887f64e
2 files changed
ports/nrf/bluetooth/ble_drv.c
@@ -43,7 +43,7 @@
43
nrf_nvic_state_t nrf_nvic_state = { 0 };
44
45
// Flag indicating progress of internal flash operation.
46
-sd_flash_operation_status_t sd_flash_operation_status;
+volatile sd_flash_operation_status_t sd_flash_operation_status;
47
48
__attribute__((aligned(4)))
49
static uint8_t m_ble_evt_buf[sizeof(ble_evt_t) + (BLE_GATT_ATT_MTU_DEFAULT)];
ports/nrf/bluetooth/ble_drv.h
@@ -59,7 +59,7 @@ typedef enum {
59
} sd_flash_operation_status_t;
60
61
62
-extern sd_flash_operation_status_t sd_flash_operation_status;
+extern volatile sd_flash_operation_status_t sd_flash_operation_status;
63
64
typedef struct ble_drv_evt_handler_entry {
65
struct ble_drv_evt_handler_entry *next;
0 commit comments