CC3D - fixing two unused variable compiler warnings.
This commit is contained in:
parent
d762da7dac
commit
58e0900d5e
|
@ -20,6 +20,9 @@
|
|||
#include <string.h>
|
||||
|
||||
#include "platform.h"
|
||||
|
||||
#include "build_config.h"
|
||||
|
||||
#include "system.h"
|
||||
|
||||
#include "sensors/sensors.h" // FIXME dependency into the main code
|
||||
|
@ -41,6 +44,7 @@ extern volatile uint16_t adcValues[ADC_CHANNEL_COUNT];
|
|||
|
||||
#ifdef CC3D
|
||||
void adcInit(drv_adc_config_t *init) {
|
||||
UNUSED(init);
|
||||
}
|
||||
#else
|
||||
void adcInit(drv_adc_config_t *init)
|
||||
|
|
|
@ -21,6 +21,8 @@
|
|||
|
||||
#include "platform.h"
|
||||
|
||||
#include "build_config.h"
|
||||
|
||||
#include "system.h"
|
||||
#include "gpio.h"
|
||||
|
||||
|
@ -52,7 +54,9 @@ static void beepInverted(bool onoff)
|
|||
|
||||
void systemBeep(bool onoff)
|
||||
{
|
||||
#ifdef BEEPER
|
||||
#ifndef BEEPER
|
||||
UNUSED(onoff);
|
||||
#else
|
||||
systemBeepPtr(onoff);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue