Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 1522 → Rev 1523

/trunk/capacity.c
56,7 → 56,7
#include "timer0.h"
 
#define CAPACITY_UPDATE_INTERVAL 10 // 10 ms
#define FC_OFFSET_CURRENT 4 // calculate with a current of 0.4A
#define FC_OFFSET_CURRENT 5 // calculate with a current of 0.5A
#define BL_OFFSET_CURRENT 2 // calculate with a current of 0.2A
 
 
/trunk/libfc.a
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/trunk/main.c
317,8 → 317,6
eeprom_write_byte(&EEPromArray[EEPROM_ADR_VALID], EE_DATENREVISION);
}
 
 
 
FlugMinuten = (int)eeprom_read_byte(&EEPromArray[EEPROM_ADR_MINUTES2]) * 256 + (int)eeprom_read_byte(&EEPromArray[EEPROM_ADR_MINUTES2+1]);
FlugMinutenGesamt = (int)eeprom_read_byte(&EEPromArray[EEPROM_ADR_MINUTES]) * 256 + (int)eeprom_read_byte(&EEPromArray[EEPROM_ADR_MINUTES+1]);
if(FlugMinutenGesamt == 0xffff || FlugMinuten == 0xffff)
369,6 → 367,7
//SpektrumBinding();
timer = SetDelay(2000);
timerPolling = SetDelay(250);
while (1)
{
 
/trunk/mymath.c
38,4 → 38,4
int16_t c_cos_8192(int16_t angle)
{
return (c_sin_8192(90 - angle));
}
}
/trunk/uart.c
57,7 → 57,7
"AngleRoll ",
"AccNick ",
"AccRoll ",
"YawGyro´ ",
"YawGyro ",
"Height Value ", //5
"AccZ ",
"Gas ",
75,7 → 75,7
"MK3Mag CalState ",
"Servo ", //20
"Hovergas ",
"Current [0.1A] ",
"Current [0.1A] ",
"Capacity [mAh] ",
" ",
" ", //25
380,6 → 380,7
case 'f': // auf anderen Parametersatz umschalten
if((1 <= pRxData[0]) && (pRxData[0] <= 5)) SetActiveParamSetNumber(pRxData[0]);
tempchar1 = pRxData[0];
ReadParameterSet(tempchar1, (unsigned char *) &EE_Parameter.Kanalbelegung[0], STRUCT_PARAM_LAENGE);
while(!UebertragungAbgeschlossen);
SendOutData('F', FC_ADDRESS, 1, &tempchar1, sizeof(tempchar1));
if(!MotorenEin) Piep(tempchar1,110);
/trunk/version.txt
357,6 → 357,8
0.77d H.Buss 25.01.2010
- Strom-Messung eingebaut
0.78a H.Buss 03.02.2010
- Bugfix: Settingsumschaltung im Flug