File tree Expand file tree Collapse file tree 3 files changed +3
-8
lines changed
arduino-ide-extension/src Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ export class MonitorModel implements FrontendApplicationContribution {
231231 this . monitorManagerProxy . changeSettings ( {
232232 monitorUISettings : {
233233 connectionStatus,
234- connected : connectionStatus === 'connected' , // TODO check if needed
234+ connected : connectionStatus === 'connected' ,
235235 } ,
236236 } ) ;
237237 this . onChangeEmitter . fire ( {
Original file line number Diff line number Diff line change @@ -10,10 +10,6 @@ import {
1010 PluggableMonitorSettings ,
1111} from './monitor-settings/monitor-settings-provider' ;
1212
13- export interface ConnectToClient {
14- ( ) : Promise < void > ;
15- }
16-
1713@injectable ( )
1814export class MonitorManagerProxyImpl implements MonitorManagerProxy {
1915 protected client : MonitorManagerProxyClient ;
Original file line number Diff line number Diff line change 77 Port ,
88} from '../common/protocol' ;
99import { CoreClientAware } from './core-client-provider' ;
10- import { ConnectToClient } from './monitor-manager-proxy-impl' ;
1110import { MonitorService } from './monitor-service' ;
1211import { MonitorServiceFactory } from './monitor-service-factory' ;
1312import {
@@ -42,7 +41,7 @@ export class MonitorManager extends CoreClientAware {
4241 private monitorServiceStartQueue : {
4342 monitorID : string ;
4443 serviceStartParams : [ Board , Port ] ;
45- connectToClient : ConnectToClient ;
44+ connectToClient : ( ) => Promise < void > ;
4645 } [ ] = [ ] ;
4746
4847 @inject ( MonitorServiceFactory )
@@ -110,7 +109,7 @@ export class MonitorManager extends CoreClientAware {
110109 async startMonitor (
111110 board : Board ,
112111 port : Port ,
113- connectToClient : ConnectToClient
112+ connectToClient : ( ) => Promise < void >
114113 ) : Promise < void > {
115114 const monitorID = this . monitorID ( board . fqbn , port ) ;
116115
You can’t perform that action at this time.
0 commit comments