From 69747a588d53c0ac919a1d02c6a921108a52da0e Mon Sep 17 00:00:00 2001 From: Martin Jaeger <17674105+martinjaeger@users.noreply.github.com> Date: Mon, 20 Jan 2020 10:41:48 +0100 Subject: [PATCH] Fix initialization bug in load unit-test --- test/tests_load.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tests_load.cpp b/test/tests_load.cpp index 9542abd..3173f07 100644 --- a/test/tests_load.cpp +++ b/test/tests_load.cpp @@ -150,7 +150,7 @@ void control_pgood_to_off_bat_temp() void control_pgood_to_off_low_soc() { - PowerPort port; + PowerPort port = {}; LoadOutput load(&port); load.state = LOAD_STATE_ON; dev_stat.internal_temp = 25;