/branches/V0.68d Code Redesign killagreg/timer0.c |
---|
1,9 → 1,10 |
#include <inttypes.h> |
#include <avr/io.h> |
#include <avr/interrupt.h> |
#include "fc.h" |
#include "eeprom.h" |
#include "analog.h" |
#include "main.h" |
#include "fc.h" |
volatile uint16_t CountMilliseconds = 0; |
volatile uint8_t UpdateMotor = 0; |
110,7 → 111,7 |
} |
// update compass value if this option is enabled in the settings |
if(EE_Parameter.GlobalConfig & CFG_KOMPASS_AKTIV) |
if(ParamSet.GlobalConfig & CFG_KOMPASS_AKTIV) |
{ |
if(PINC & 0x10) |
{ |