1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 05:15:25 +03:00

Removing unnecessary volatile keyword.

This commit is contained in:
Dominic Clifton 2014-12-06 14:32:32 +00:00
parent 9165e11449
commit 7356863939
2 changed files with 2 additions and 2 deletions

View file

@ -772,7 +772,7 @@ void timerStart(void)
* @param TIM_Typedef *tim The timer to overflow
* @return void
**/
void timerForceOverflow(volatile TIM_TypeDef *tim)
void timerForceOverflow(TIM_TypeDef *tim)
{
uint8_t timerIndex = lookupTimerIndex((const TIM_TypeDef *)tim);

View file

@ -117,7 +117,7 @@ void timerChInit(const timerHardware_t *timHw, channelType_t type, int irqPriori
void timerInit(void);
void timerStart(void);
void timerForceOverflow(volatile TIM_TypeDef *tim);
void timerForceOverflow(TIM_TypeDef *tim);
void configTimeBase(TIM_TypeDef *tim, uint16_t period, uint8_t mhz); // TODO - just for migration