File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ import { ActionFeedback } from "../common/use-action-feedback";
1919import { Dialogs } from "../common/use-dialogs" ;
2020import {
2121 ConnectionStatus ,
22- ConnectOptions ,
2322 DeviceConnection ,
2423 AfterRequestDevice ,
2524 FlashDataError ,
@@ -140,7 +139,7 @@ export class ProjectActions {
140139 this . webusbNotSupportedError ( finalFocusRef ) ;
141140 } else {
142141 if ( await this . showConnectHelp ( forceConnectHelp , finalFocusRef ) ) {
143- return this . connectInternal ( { } , userAction , finalFocusRef ) ;
142+ return this . connectInternal ( userAction , finalFocusRef ) ;
144143 }
145144 }
146145 } ;
@@ -190,12 +189,11 @@ export class ProjectActions {
190189 * Connect to the device if possible, otherwise show feedback.
191190 */
192191 private async connectInternal (
193- options : ConnectOptions ,
194192 userAction : ConnectionAction ,
195193 finalFocusRef : FinalFocusRef
196194 ) {
197195 try {
198- await this . device . connect ( options ) ;
196+ await this . device . connect ( ) ;
199197 finalFocusRef ?. current ?. focus ( ) ;
200198 return true ;
201199 } catch ( e ) {
You can’t perform that action at this time.
0 commit comments