File tree 3 files changed +3
-8
lines changed
arduino-ide-extension/src
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 {
231
231
this . monitorManagerProxy . changeSettings ( {
232
232
monitorUISettings : {
233
233
connectionStatus,
234
- connected : connectionStatus === 'connected' , // TODO check if needed
234
+ connected : connectionStatus === 'connected' ,
235
235
} ,
236
236
} ) ;
237
237
this . onChangeEmitter . fire ( {
Original file line number Diff line number Diff line change @@ -10,10 +10,6 @@ import {
10
10
PluggableMonitorSettings ,
11
11
} from './monitor-settings/monitor-settings-provider' ;
12
12
13
- export interface ConnectToClient {
14
- ( ) : Promise < void > ;
15
- }
16
-
17
13
@injectable ( )
18
14
export class MonitorManagerProxyImpl implements MonitorManagerProxy {
19
15
protected client : MonitorManagerProxyClient ;
Original file line number Diff line number Diff line change 7
7
Port ,
8
8
} from '../common/protocol' ;
9
9
import { CoreClientAware } from './core-client-provider' ;
10
- import { ConnectToClient } from './monitor-manager-proxy-impl' ;
11
10
import { MonitorService } from './monitor-service' ;
12
11
import { MonitorServiceFactory } from './monitor-service-factory' ;
13
12
import {
@@ -42,7 +41,7 @@ export class MonitorManager extends CoreClientAware {
42
41
private monitorServiceStartQueue : {
43
42
monitorID : string ;
44
43
serviceStartParams : [ Board , Port ] ;
45
- connectToClient : ConnectToClient ;
44
+ connectToClient : ( ) => Promise < void > ;
46
45
} [ ] = [ ] ;
47
46
48
47
@inject ( MonitorServiceFactory )
@@ -110,7 +109,7 @@ export class MonitorManager extends CoreClientAware {
110
109
async startMonitor (
111
110
board : Board ,
112
111
port : Port ,
113
- connectToClient : ConnectToClient
112
+ connectToClient : ( ) => Promise < void >
114
113
) : Promise < void > {
115
114
const monitorID = this . monitorID ( board . fqbn , port ) ;
116
115
You can’t perform that action at this time.
0 commit comments