@@ -51,7 +51,7 @@ void control_basic_test()
51
51
char str[128 ] = {};
52
52
53
53
{
54
- USBTester serial (get_phy (), vendor_id, product_id, product_release, true );
54
+ USBTester serial (get_phy (), vendor_id, product_id, product_release);
55
55
sprintf (str, " %s %d %d" , serial.get_serial_desc_string (), vendor_id, product_id);
56
56
greentea_send_kv (" control_basic_test" , str);
57
57
// Wait for host before terminating
@@ -69,7 +69,7 @@ void control_stall_test()
69
69
char _value[128 ] = {};
70
70
71
71
{
72
- USBTester serial (get_phy (), vendor_id, product_id, product_release, true );
72
+ USBTester serial (get_phy (), vendor_id, product_id, product_release);
73
73
greentea_send_kv (" control_stall_test" , serial.get_serial_desc_string ());
74
74
// Wait for host before terminating
75
75
greentea_parse_kv (_key, _value, sizeof (_key), sizeof (_value));
@@ -86,7 +86,7 @@ void control_sizes_test()
86
86
char _value[128 ] = {};
87
87
88
88
{
89
- USBTester serial (get_phy (), vendor_id, product_id, product_release, true );
89
+ USBTester serial (get_phy (), vendor_id, product_id, product_release);
90
90
greentea_send_kv (" control_sizes_test" , serial.get_serial_desc_string ());
91
91
// Wait for host before terminating
92
92
greentea_parse_kv (_key, _value, sizeof (_key), sizeof (_value));
@@ -103,7 +103,7 @@ void control_stress_test()
103
103
char _value[128 ] = {};
104
104
105
105
{
106
- USBTester serial (get_phy (), vendor_id, product_id, product_release, true );
106
+ USBTester serial (get_phy (), vendor_id, product_id, product_release);
107
107
greentea_send_kv (" control_stress_test" , serial.get_serial_desc_string ());
108
108
// Wait for host before terminating
109
109
greentea_parse_kv (_key, _value, sizeof (_key), sizeof (_value));
@@ -123,7 +123,7 @@ void device_reset_test()
123
123
greentea_parse_kv (_key, _value, sizeof (_key), sizeof (_value));
124
124
if (strcmp (_value, " false" ) != 0 ) {
125
125
126
- USBTester serial (get_phy (), vendor_id, product_id, product_release, true );
126
+ USBTester serial (get_phy (), vendor_id, product_id, product_release);
127
127
serial.clear_reset_count ();
128
128
greentea_send_kv (" device_reset_test" , serial.get_serial_desc_string ());
129
129
while (serial.get_reset_count () == 0 );
@@ -169,7 +169,7 @@ void device_soft_reconnection_test()
169
169
const uint32_t reconnect_try_count = 3 ;
170
170
171
171
{
172
- USBTester serial (get_phy (), vendor_id, product_id, product_release, true );
172
+ USBTester serial (get_phy (), vendor_id, product_id, product_release);
173
173
174
174
greentea_send_kv (" device_soft_reconnection_test" , serial.get_serial_desc_string ());
175
175
// Wait for host before terminating
@@ -211,7 +211,7 @@ void device_suspend_resume_test()
211
211
char _value[128 ] = {};
212
212
213
213
{
214
- USBTester serial (get_phy (), vendor_id, product_id, product_release, true );
214
+ USBTester serial (get_phy (), vendor_id, product_id, product_release);
215
215
greentea_send_kv (" device_suspend_resume_test" , serial.get_serial_desc_string ());
216
216
printf (" [1] suspend_count: %d resume_count: %d\n " , serial.get_suspend_count (), serial.get_resume_count ());
217
217
serial.clear_suspend_count ();
@@ -234,25 +234,25 @@ void repeated_construction_destruction_test()
234
234
char _value[128 ] = {};
235
235
236
236
{
237
- USBTester serial (get_phy (), vendor_id, product_id, product_release, true );
237
+ USBTester serial (get_phy (), vendor_id, product_id, product_release);
238
238
TEST_ASSERT_EQUAL (true , serial.configured ());
239
239
}
240
240
241
241
wait_us (MIN_DISCONNECT_TIME_US);
242
242
{
243
- USBTester serial (get_phy (), vendor_id, product_id, product_release, true );
243
+ USBTester serial (get_phy (), vendor_id, product_id, product_release);
244
244
TEST_ASSERT_EQUAL (true , serial.configured ());
245
245
}
246
246
247
247
wait_us (MIN_DISCONNECT_TIME_US);
248
248
{
249
- USBTester serial (get_phy (), vendor_id, product_id, product_release, true );
249
+ USBTester serial (get_phy (), vendor_id, product_id, product_release);
250
250
TEST_ASSERT_EQUAL (true , serial.configured ());
251
251
}
252
252
253
253
wait_us (MIN_DISCONNECT_TIME_US);
254
254
{
255
- USBTester serial (get_phy (), vendor_id, product_id, product_release, true );
255
+ USBTester serial (get_phy (), vendor_id, product_id, product_release);
256
256
TEST_ASSERT_EQUAL (true , serial.configured ());
257
257
greentea_send_kv (" repeated_construction_destruction_test" , serial.get_serial_desc_string ());
258
258
// Wait for host before terminating
@@ -262,7 +262,7 @@ void repeated_construction_destruction_test()
262
262
263
263
wait_us (MIN_DISCONNECT_TIME_US);
264
264
{
265
- USBTester serial (get_phy (), vendor_id, product_id, product_release, true );
265
+ USBTester serial (get_phy (), vendor_id, product_id, product_release);
266
266
TEST_ASSERT_EQUAL (true , serial.configured ());
267
267
greentea_send_kv (" repeated_construction_destruction_test" , serial.get_serial_desc_string ());
268
268
// Wait for host before terminating
@@ -272,7 +272,7 @@ void repeated_construction_destruction_test()
272
272
273
273
wait_us (MIN_DISCONNECT_TIME_US);
274
274
{
275
- USBTester serial (get_phy (), vendor_id, product_id, product_release, true );
275
+ USBTester serial (get_phy (), vendor_id, product_id, product_release);
276
276
TEST_ASSERT_EQUAL (true , serial.configured ());
277
277
greentea_send_kv (" repeated_construction_destruction_test" , serial.get_serial_desc_string ());
278
278
// Wait for host before terminating
0 commit comments