fixed fast current limiting bug
added averaging and more space between samples to set_port_current volatage sample to prevent the I limit from changing rapidly on plugin from voltage sag, preventing some devices (ipads) from charging