summaryrefslogtreecommitdiffstats
path: root/src/main2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main2.c')
-rw-r--r--src/main2.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main2.c b/src/main2.c
index 2736828..b18b1ee 100644
--- a/src/main2.c
+++ b/src/main2.c
@@ -721,9 +721,7 @@ int main(int argc, char **argv) {
if ( usb_dev->flash_device->protocol != FLASH_COLD ) {
usb_close_device(usb_dev);
- printf("Unplug USB cable, turn device off, press ENTER and plug USB cable again\n");
- fflush(stdin);
- getchar();
+ printf_and_wait("Unplug USB cable, turn device off, press ENTER and plug USB cable again");
continue;
}