mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
Cleanup warnings in sound_beeper_stm32f30x.c when no beeper is
available.
This commit is contained in:
parent
4bf1d9cf51
commit
42aac00b87
1 changed files with 5 additions and 1 deletions
|
@ -21,13 +21,17 @@
|
|||
|
||||
#include "platform.h"
|
||||
|
||||
#include "build_config.h"
|
||||
|
||||
#include "gpio.h"
|
||||
|
||||
#include "sound_beeper.h"
|
||||
|
||||
void initBeeperHardware(beeperConfig_t *config)
|
||||
{
|
||||
#ifdef BEEPER
|
||||
#ifndef BEEPER
|
||||
UNUSED(config);
|
||||
#else
|
||||
gpio_config_t gpioConfig = {
|
||||
config->gpioPin,
|
||||
config->gpioMode,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue