Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 1624 → Rev 1625

/beta/Code Redesign killagreg/fc.c
822,7 → 822,7
if((AdAirPressure > AIR_PRESSURE_SEARCH_MAX) || (AdAirPressure < AIR_PRESSURE_SEARCH_MIN)) SearchAirPressureOffset();
}
LipoDetection(0);
LIBFC_ReceiverInit();
LIBFC_ReceiverInit(ParamSet.Receiver);
Servo_Off(); // disable servo output
SetNeutral(NO_ACC_CALIB);
Calibration_Done = 1;
/beta/Code Redesign killagreg/libfc.h
9,9 → 9,9
#define CPU_ATMEGA1284 3
#define CPU_ATMEGA1284P 4
 
extern void LIBFC_Init(void); // general init function (must be called at startup)
extern void LIBFC_ReceiverInit(void); // init of reveicer type
extern void LIBFC_Polling(void); // must be called in main-loop
extern void LIBFC_Init(void); // general init function (must be called at startup)
extern void LIBFC_ReceiverInit(uint8_t rtype); // init of reveicer type
extern void LIBFC_Polling(void); // must be called in main-loop
 
extern void LIBFC_JetiBox_Putchar(char c);
extern void LIBFC_JetiBox_SetPos(uint8_t index);
/beta/Code Redesign killagreg/libfc644.a
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/beta/Code Redesign killagreg/main.c
288,7 → 288,7
Menu_Clear();
I2CTimeout = 5000;
LipoDetection(1);
LIBFC_ReceiverInit();
LIBFC_ReceiverInit(ParamSet.Receiver);
 
printf("\n\r===================================\n\r");
 
/beta/Code Redesign killagreg/uart0.c
562,7 → 562,7
while(!txd_complete); // wait for previous frame to be sent
SendOutData('S', FC_ADDRESS,1, &tempchar1, sizeof(tempchar1));
LipoDetection(0); // low voltage warning
LIBFC_ReceiverInit();
LIBFC_ReceiverInit(ParamSet.Receiver);
Beep(tempchar1, 110);
}
else
581,7 → 581,7
SendOutData('F', FC_ADDRESS, 1, &tempchar1, sizeof(tempchar1));
if(!(FCFlags & FCFLAG_MOTOR_RUN)) Beep(tempchar1, 110);
LipoDetection(0);
LIBFC_ReceiverInit();
LIBFC_ReceiverInit(ParamSet.Receiver);
break;
 
case 'y': // 12 serial Potis