1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-14 11:59:58 +03:00

implemented using one of RC inputs as ADC channel for power meter.

added MSP_ACC_TRIM stuff for android GUI.


git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@231 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
timecop@gmail.com 2012-10-19 02:43:27 +00:00
parent e59f639951
commit 23acf529d7
14 changed files with 3007 additions and 2936 deletions

View file

@ -137,7 +137,7 @@ void batteryInit(void)
// average up some voltage readings
for (i = 0; i < 32; i++) {
voltage += adcGetBattery();
voltage += adcGetChannel(ADC_BATTERY);
delay(10);
}