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:
parent
9165e11449
commit
7356863939
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue