mirror of https://github.com/ARMmbed/mbed-os.git
Add volatile on one variable (alignment with 16bit file)
parent
ddbcad4f4a
commit
0e8196e5b8
|
@ -33,7 +33,7 @@
|
||||||
#define DEBUG_TICK 0 // Set to 1 to toggle a pin (see below which pin) at each tick
|
#define DEBUG_TICK 0 // Set to 1 to toggle a pin (see below which pin) at each tick
|
||||||
|
|
||||||
TIM_HandleTypeDef TimMasterHandle;
|
TIM_HandleTypeDef TimMasterHandle;
|
||||||
uint32_t PreviousVal = 0;
|
volatile uint32_t PreviousVal = 0;
|
||||||
|
|
||||||
void us_ticker_irq_handler(void);
|
void us_ticker_irq_handler(void);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue