mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 02:35:28 +00:00
Minimum high / low times are within 50% duty cyle bounds, except for 400KHz low time. With this in mind, simplify the duty cycle calculations and fix off-by-one errors. BUG=chrome-os-partner:46188 BRANCH=None TEST=Verify i2c is still functional on Glados. Change-Id: Ib08ebc06f334f65d2412222bb6c7a45f407b28c4 Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/305577 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: Alec Berg <alecaberg@chromium.org>