pts/hid_host_test: reset unplug for the next PTS test

This commit is contained in:
Milanka Ringwald 2021-02-08 09:21:25 +01:00 committed by Matthias Ringwald
parent 5961e15565
commit 4d5e2508b4
2 changed files with 5 additions and 1 deletions

View File

@ -6,7 +6,7 @@ HID11/HOS/HRE/BV-09-I: c, s, S
HID11/HOS/HCR/BV-01-I: c, C, c, (Confirmation), C, (Confirmation)
HID11/HOS/HCR/BV-02-I: c, c, (Confirmation), (Confirmation)
HID11/HOS/HCR/BV-03-I: c, U, c, "OK"
HID11/HOS/HCR/BV-03-I: c, U, c, "OK", u
HID11/HOS/HCR/BV-04-I: c, c, (ok)
HID11/HOS/HCT/BV-01-C: c, 1, 2, 3

View File

@ -450,6 +450,10 @@ static void stdin_process(char cmd){
printf("Send \'Unplug\'\n");
hid_host_send_virtual_cable_unplug(hid_host_cid);
break;
case 'u':
printf("Reset unplug (for the next PTS test)\n");
unplugged = false;
break;
case '1':