mbed library sources
Dependents: frdm_kl05z_gpio_test
Fork of mbed-src by
Diff: targets/hal/TARGET_STM/TARGET_NUCLEO_F401RE/us_ticker.c
- Revision:
- 92:05f19f05c134
- Parent:
- 91:0a39e62a0464
- Child:
- 94:6519f69185ce
diff -r 0a39e62a0464 -r 05f19f05c134 targets/hal/TARGET_STM/TARGET_NUCLEO_F401RE/us_ticker.c --- a/targets/hal/TARGET_STM/TARGET_NUCLEO_F401RE/us_ticker.c Thu Feb 13 18:15:05 2014 +0000 +++ b/targets/hal/TARGET_STM/TARGET_NUCLEO_F401RE/us_ticker.c Mon Feb 17 16:15:17 2014 +0000 @@ -39,7 +39,7 @@ static TIM_HandleTypeDef TimMasterHandle; static int us_ticker_inited = 0; -static uint32_t SlaveCounter = 0; +static volatile uint32_t SlaveCounter = 0; static uint32_t oc_int_part = 0; static uint16_t oc_rem_part = 0;