adiv5_dp_init: make ctrlstat volatile to supress warning.
This commit is contained in:
parent
d6e29774fe
commit
cd1bef89bb
|
@ -388,7 +388,7 @@ ADIv5_AP_t *adiv5_new_ap(ADIv5_DP_t *dp, uint8_t apsel)
|
|||
|
||||
void adiv5_dp_init(ADIv5_DP_t *dp)
|
||||
{
|
||||
uint32_t ctrlstat = 0;
|
||||
volatile uint32_t ctrlstat = 0;
|
||||
|
||||
adiv5_dp_ref(dp);
|
||||
|
||||
|
|
Loading…
Reference in New Issue