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

pull/3467/head
bcostm 2016-10-26 16:36:18 +02:00 committed by Anna Bridge
parent ddbcad4f4a
commit 0e8196e5b8
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 #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);