update clang-format from Latest in docsUpdates the clang-format file and then applies it.Signed-off-by: Patrick Venture <venture@google.com>Change-Id: Ia9faf13ce171f90bf07547efd781139bee23e8c7
cleanup: add missing explicit to constructorsFor constructors with a single argument, mark explicit.Signed-off-by: Patrick Venture <venture@google.com>Change-Id: I4a57fb3f7bdab1fc7065399b47af262
cleanup: add missing explicit to constructorsFor constructors with a single argument, mark explicit.Signed-off-by: Patrick Venture <venture@google.com>Change-Id: I4a57fb3f7bdab1fc7065399b47af262970443599
show more ...
errors: add configuration exceptionThe configuration exception will be thrown for configuration errors.Change-Id: Ibf9e220826ede46a5de748e73aa328300ed01f79Signed-off-by: Patrick Venture <venture
errors: add configuration exceptionThe configuration exception will be thrown for configuration errors.Change-Id: Ibf9e220826ede46a5de748e73aa328300ed01f79Signed-off-by: Patrick Venture <venture@google.com>
Allow multiple inputs to thermal and stepwise controllersUse std::max to determine which input value to apply.Also start throwing when inputs are empty as otherwisethere will be a nullptr derefer
Allow multiple inputs to thermal and stepwise controllersUse std::max to determine which input value to apply.Also start throwing when inputs are empty as otherwisethere will be a nullptr dereference.Tested-by: Added multiple inputs and application no longersegfaults and verifed max was being used. Also added unittests.Change-Id: I7c8eda45b99247b8e92e629f036c9a46c98d9fe2Signed-off-by: James Feist <james.feist@linux.intel.com>
errors: add exception for build time failureAdd a specific exception for build-time failures.Change-Id: I1e6189ca256398d6995d4d0e0127846e1a7249a9Signed-off-by: Patrick Venture <venture@google.co
errors: add exception for build time failureAdd a specific exception for build-time failures.Change-Id: I1e6189ca256398d6995d4d0e0127846e1a7249a9Signed-off-by: Patrick Venture <venture@google.com>