mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 12:25:20 +03:00
Add void to function declarations/definitions where required
This commit is contained in:
parent
120955e26b
commit
53f5e87c7a
45 changed files with 130 additions and 128 deletions
|
@ -77,14 +77,14 @@ static struct {
|
|||
static uint32_t endTimeMillis;
|
||||
|
||||
#ifdef CAMERA_CONTROL_SOFTWARE_PWM_AVAILABLE
|
||||
void TIM6_DAC_IRQHandler()
|
||||
void TIM6_DAC_IRQHandler(void)
|
||||
{
|
||||
IOHi(cameraControlRuntime.io);
|
||||
|
||||
TIM6->SR = 0;
|
||||
}
|
||||
|
||||
void TIM7_IRQHandler()
|
||||
void TIM7_IRQHandler(void)
|
||||
{
|
||||
IOLo(cameraControlRuntime.io);
|
||||
|
||||
|
@ -92,7 +92,7 @@ void TIM7_IRQHandler()
|
|||
}
|
||||
#endif
|
||||
|
||||
void cameraControlInit()
|
||||
void cameraControlInit(void)
|
||||
{
|
||||
if (cameraControlConfig()->ioTag == IO_TAG_NONE)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue