commit | ee0b1e0779253d6b0e9c8515822f9b660b94e66a | [log] [tgz] |
---|---|---|
author | Ewout van Bekkum <ewout@google.com> | Fri Aug 13 08:27:31 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Aug 13 19:33:16 2021 +0000 |
tree | 8ecd0f553571fd7cba5ae31f310589c7e7ae04ac | |
parent | 9e95e4b726be7c5098449d2d4d7dc60e41b5a82b [diff] |
pw_chrono_freertos: Ensure timer periods are always > 0 ticks Updates the FreeRTOS backend for the SystemTimer to always pass a non-zero timer period to the native FreeRTOS API. Note that this does not impact the resulting expiry deadline. Also updates the facade unit tests to cover this corner case. Tested: Validated on all known timer backends. Change-Id: I94b313724cade0d886769e5aaedab44ceb5d846a Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/57020 Reviewed-by: Keir Mierle <keir@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Pigweed-Auto-Submit: Ewout van Bekkum <ewout@google.com>
See our website: http://pigweed.dev