Add volatile on one variable (alignment with 16bit file)

pull/3213/head
bcostm 2016-10-26 16:36:18 +02:00
parent 896293d5be
commit a2e686b82c
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@
#define DEBUG_TICK 0 // Set to 1 to toggle a pin (see below which pin) at each tick
TIM_HandleTypeDef TimMasterHandle;
uint32_t PreviousVal = 0;
volatile uint32_t PreviousVal = 0;
void us_ticker_irq_handler(void);