mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 03:20:00 +03:00
fix for Makefile building of FY90Q components.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@148 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
parent
4087cc0ca7
commit
8f80611324
2 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
#ifdef FY90Q
|
||||||
#include "board.h"
|
#include "board.h"
|
||||||
|
|
||||||
#define ADC_CHANNELS 9
|
#define ADC_CHANNELS 9
|
||||||
|
@ -140,3 +141,4 @@ uint16_t adcGetBattery(void)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#ifdef FY90Q
|
||||||
#include "board.h"
|
#include "board.h"
|
||||||
|
|
||||||
#define PULSE_1MS (1000) // 1ms pulse width
|
#define PULSE_1MS (1000) // 1ms pulse width
|
||||||
|
@ -326,3 +327,4 @@ uint8_t pwmGetNumOutputChannels(void)
|
||||||
{
|
{
|
||||||
return numOutputChannels;
|
return numOutputChannels;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue