ADC filtering in separate function + unit-tests

This commit is contained in:
Martin Jaeger
2019-11-04 18:02:43 +01:00
parent bc8f74aa45
commit 7412b11002
9 changed files with 99 additions and 32 deletions
+1
View File
@@ -108,6 +108,7 @@ void dev_stat_new_bat_temp_max()
void dev_stat_new_int_temp_max()
{
dev_stat.int_temp_max = 20;
dev_stat.internal_temp = 22;
dev_stat.update_min_max_values();
TEST_ASSERT_EQUAL(22, dev_stat.int_temp_max);