Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 684 → Rev 685

/branches/V0.68d Code Redesign killagreg/fc.c
52,8 → 52,17
// + POSSIBILITY OF SUCH DAMAGE.
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
 
#include "main.h"
#include "eeprom.c"
#include "eeprom.h"
#include "timer0.h"
#include "_Settings.h"
#include "analog.h"
#include "fc.h"
#include "gps.h"
#include "uart.h"
#include "rc.h"
#include "twimaster.h"
 
unsigned char h,m,s;
volatile unsigned int I2CTimeout = 100;
242,7 → 251,7
}
if(AdValueGyrRoll < 15) MesswertRoll = -1000;
if(AdValueGyrRoll < 7) MesswertRoll = -2000;
if(PlatinenVersion == 10)
if(BoardRelease == 10)
{
if(AdValueGyrRoll > 1010) MesswertRoll = +1000;
if(AdValueGyrRoll > 1017) MesswertRoll = +2000;
269,7 → 278,7
}
if(AdValueGyrNick < 15) MesswertNick = -1000;
if(AdValueGyrNick < 7) MesswertNick = -2000;
if(PlatinenVersion == 10)
if(BoardRelease == 10)
{
if(AdValueGyrNick > 1010) MesswertNick = +1000;
if(AdValueGyrNick > 1017) MesswertNick = +2000;