From d97b34c372fc0d0c452c8f3cb584fe809f5af7dd Mon Sep 17 00:00:00 2001 From: cecio Date: Sun, 11 Jun 2023 22:04:05 +0200 Subject: [PATCH] Fixed issue in stopping operations if hash does not match --- USBvalve/USBvalve.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/USBvalve/USBvalve.ino b/USBvalve/USBvalve.ino index c855ef6..5020806 100644 --- a/USBvalve/USBvalve.ino +++ b/USBvalve/USBvalve.ino @@ -155,8 +155,6 @@ void setup() { usb_msc.setReadyCallback(msc_ready_callback); #endif - usb_msc.begin(); - // Screen Init Wire.begin(); Wire.setClock(400000L); @@ -187,6 +185,8 @@ void setup() { delay(1000); // Loop forever } } + + usb_msc.begin(); } // Core 1 Setup: will be used for the USB host functions for BADUSB detector