A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol
C arduinobluetoothcan-busdebuggingeepromesp32flipperzerogpiohardware-hackingi2cjtagopenocdprotocolspwmradiorfidspisubghzuartwifi
add device view to usb config
Geo6095c438b786
diff --git a/src/Config/UsbConfigurator.cpp b/src/Config/UsbConfigurator.cppindex ae4538af..d3ced716 100644--- a/src/Config/UsbConfigurator.cpp+++ b/src/Config/UsbConfigurator.cpp@@ -10,7 +10,7 @@#endif-UsbComponents UsbConfigurator::configure(ITerminalView& terminalView, IInput& terminalInput) {+UsbComponents UsbConfigurator::configure(ITerminalView& terminalView, IInput& terminalInput, IInput& deviceInput) {#if defined(DEVICE_M5STICK)static ArgTransformer argTransformer;static UserInputManager userInputManager(terminalView, terminalInput, argTransformer);@@ -27,7 +27,7 @@ UsbComponents UsbConfigurator::configure(ITerminalView& terminalView, IInput& testatic ArgTransformer argTransformer;static UserInputManager userInputManager(terminalView, terminalInput, argTransformer);static UsbS3Service usbService;- static UsbS3Controller usbController(terminalView, terminalInput, usbService, argTransformer, userInputManager);+ static UsbS3Controller usbController(terminalView, terminalInput, deviceInput, usbService, argTransformer, userInputManager);return UsbComponents{argTransformer,diff --git a/src/Config/UsbConfigurator.h b/src/Config/UsbConfigurator.hindex e4c4fa0a..a83ff103 100644--- a/src/Config/UsbConfigurator.h+++ b/src/Config/UsbConfigurator.h@@ -16,5 +16,5 @@ struct UsbComponents {class UsbConfigurator {public:- static UsbComponents configure(ITerminalView& terminalView, IInput& terminalInput);+ static UsbComponents configure(ITerminalView& terminalView, IInput& terminalInput, IInput& deviceInput);};