/branches/dongfang_FC_rewrite/main.c |
---|
72,7 → 72,7 |
#ifdef USE_NAVICTRL |
#include "spi.h" |
#endif |
#ifdef USE_DIRECT_GPS |
#ifdef USE_MK3MAG |
#include "mk3mag.h" |
#endif |
#include "eeprom.h" |
108,8 → 108,10 |
#ifdef USE_NAVICTRL |
SPI_MasterInit(); |
#endif |
#ifdef USE_MK3MAG |
MK3MAG_init(); |
#endif |
#ifdef USE_DIRECT_GPS |
MK3MAG_init(); |
usart1_init(); |
#endif |