File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
UNITTESTS/features/cellular/framework/AT/at_cellularcontext Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ class TestAT_CellularContext : public testing::Test {
53
53
ATHandler_stub::bool_value = false ;
54
54
ATHandler_stub::uint8_value = 0 ;
55
55
ATHandler_stub::fh_value = NULL ;
56
- ATHandler_stub::callback = NULL ;
57
56
ATHandler_stub::call_immediately = false ;
58
57
ATHandler_stub::resp_info_true_counter = false ;
59
58
ATHandler_stub::info_elem_true_counter = false ;
@@ -63,6 +62,9 @@ class TestAT_CellularContext : public testing::Test {
63
62
ATHandler_stub::read_string_table[kRead_string_table_size ];
64
63
ATHandler_stub::resp_stop_success_count = kResp_stop_count_default ;
65
64
CellularDevice_stub::connect_counter = 2 ;
65
+ for (int i=0 ; i < kATHandler_urc_table_max_size ; i++) {
66
+ ATHandler_stub::callback[i] = NULL ;
67
+ }
66
68
}
67
69
68
70
void TearDown ()
You can’t perform that action at this time.
0 commit comments