Trailing white spaces removed

This commit is contained in:
Martin Jaeger
2019-11-21 07:44:15 +01:00
parent 7952ac99b0
commit 74b765e801
26 changed files with 391 additions and 396 deletions
+1 -1
View File
@@ -36,4 +36,4 @@ void clear_adc_filtered();
uint32_t get_adc_filtered(uint32_t channel);
uint16_t adc_get_alert_limit(float scale, float limit);
#endif
#endif
+1 -1
View File
@@ -64,4 +64,4 @@ int main()
dcdc_tests();
device_status_tests();
load_tests();
}
}
+1 -1
View File
@@ -321,4 +321,4 @@ void bat_charger_tests()
//RUN_TEST(no_soc_below_0);
UNITY_END();
}
}
+1 -1
View File
@@ -438,4 +438,4 @@ void dcdc_tests()
RUN_TEST(boost_correct_mppt_operation);
UNITY_END();
}
}
+2 -5
View File
@@ -12,7 +12,7 @@
#define PWM_F_KHZ 70
#define PWM_DEADTIME_NS 300
const float duty_epsilon = 0.006;
const float duty_epsilon = 0.006;
// calculated duty cycle float may deviate +/- duty_epsilon from test target value
static void init_structs()
@@ -21,7 +21,6 @@ static void init_structs()
half_bridge_stop();
}
void half_brigde_set_duty_cycle_works()
{
half_bridge_set_duty_cycle(MID_PWM_DUTY);
@@ -48,14 +47,12 @@ void half_brigde_not_exceeds_max()
TEST_ASSERT_FLOAT_WITHIN(duty_epsilon,MAX_PWM_DUTY,half_bridge_get_duty_cycle());
}
void half_brigde_not_exceeds_min()
{
half_bridge_set_duty_cycle(-1.0);
TEST_ASSERT_FLOAT_WITHIN(duty_epsilon,MIN_PWM_DUTY,half_bridge_get_duty_cycle());
}
void half_brigde_tests()
{
init_structs();
@@ -69,4 +66,4 @@ void half_brigde_tests()
RUN_TEST(half_brigde_not_steps_under_min);
UNITY_END();
}
}
+1 -1
View File
@@ -130,4 +130,4 @@ void power_port_tests()
RUN_TEST(pass_voltage_targets_to_adjacent_bus);
UNITY_END();
}
}