1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 21:35:44 +03:00

Move FY90q acc/gyro code to accgyro_fy90q.c. Update ADC drivers so they

do not include "board.h". It is now clear what all ADC drivers need to
compile and what was unnecessarily included before.

Note: FY90Q make target now compiles successfully, it was broken for
various reasons before.
This commit is contained in:
Dominic Clifton 2014-04-16 18:19:56 +01:00
parent 5442f8ea41
commit 001de4cdf3
10 changed files with 139 additions and 83 deletions

View file

@ -148,6 +148,7 @@ int main(void)
serialInit(mcfg.serial_baudrate);
#ifndef FY90Q
if (feature(FEATURE_SOFTSERIAL)) {
//mcfg.softserial_baudrate = 19200; // Uncomment to override config value
@ -163,6 +164,7 @@ int main(void)
#endif
//core.mainport = (serialPort_t*)&(softSerialPorts[0]); // Uncomment to switch the main port to use softserial.
}
#endif
if (feature(FEATURE_TELEMETRY))
initTelemetry();