Commit bd64ad0b authored by 陈家乐's avatar 陈家乐

🐞 fix:给局部变量赋初值

parent 0c28e7a4
...@@ -62,8 +62,8 @@ uint16_t TestFuelR = 1100u; ...@@ -62,8 +62,8 @@ uint16_t TestFuelR = 1100u;
void Fuel_R_Cal(uint8_t deltaTime) void Fuel_R_Cal(uint8_t deltaTime)
{ {
uint16_t FuelRes = 0; uint16_t FuelRes = 0;
uint8_t i, j; uint8_t i = 0, j = 0;
uint32_t temp32; uint32_t temp32 = 0;
static uint16_t timeCount = 0; static uint16_t timeCount = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment