#include "chargControl.h" #include "parameter.h" #include "comm_types.h" void chargControl(void) { getCVData(); judgeYNBattery(); chargControlMode(); if (g_otherParameter.MPPT_Mode == noWork) { return; } if (g_otherParameter.batteryState) { BatteryChargControl(); } else { noBatteryChargControl(); } }