Definition at line 264 of file current.c. References AVG_COUNT, and mg_au16AvgData. Referenced by leds_ShowCurrent(). { UINT16 u16Help = 0U; /* calculate average value from array */ for(UINT8 i=0U; i<AVG_COUNT; i++) { u16Help += mg_au16AvgData[i]; } u16Help /= AVG_COUNT; return (u16Help); }
Here is the caller graph for this function:
![]() |