Add base class to simplify threshold logic

Add base class for the default case check_thresholds
calls the thresholds.cpp function. This way for normal
things we can just pass sensors around as the base class.

Make it so that theshold alerts are only sent once.

Change-Id: Ic8e3ae1900aeb12b74c099f637f45bc038bd3c9a
Signed-off-by: James Feist <james.feist@linux.intel.com>
11 files changed
tree: 7ac50f66df3347244ea7989bbf9c3d3f4ce74f73
  1. include/
  2. sensors/
  3. LICENSE
  4. MAINTAINERS
  5. README.md
README.md

s2600wf-misc