File tree 1 file changed +0
-18
lines changed
arduino-ide-extension/src/common/protocol
1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -262,27 +262,9 @@ export namespace Port {
262
262
right : Port | string | undefined
263
263
) {
264
264
if ( left && right ) {
265
- if ( left . protocol !== 'serial' ) {
266
- console . log (
267
- `Unexpected protocol for 'left' port: ${ JSON . stringify (
268
- left
269
- ) } . Ignoring 'protocol', comparing 'addresses' with ${ JSON . stringify (
270
- right
271
- ) } .`
272
- ) ;
273
- }
274
265
if ( typeof right === 'string' ) {
275
266
return left . address === right ;
276
267
}
277
- if ( right . protocol !== 'serial' ) {
278
- console . log (
279
- `Unexpected protocol for 'right' port: ${ JSON . stringify (
280
- right
281
- ) } . Ignoring 'protocol', comparing 'addresses' with ${ JSON . stringify (
282
- left
283
- ) } .`
284
- ) ;
285
- }
286
268
return left . address === right . address ;
287
269
}
288
270
return false ;
You can’t perform that action at this time.
0 commit comments