mirror of
				https://github.com/arduino/arduino-ide.git
				synced 2025-10-25 02:58:33 +00:00 
			
		
		
		
	Use port properties from the discovery.
Signed-off-by: Akos Kitta <a.kitta@arduino.cc> Closes #740
This commit is contained in:
		| @@ -6,7 +6,6 @@ import { | ||||
|   Installable, | ||||
|   BoardsPackage, | ||||
|   Board, | ||||
|   Port, | ||||
|   BoardDetails, | ||||
|   Tool, | ||||
|   ConfigOption, | ||||
| @@ -65,14 +64,6 @@ export class BoardsServiceImpl | ||||
|     return this.boardDiscovery.availablePorts; | ||||
|   } | ||||
|  | ||||
|   async getAttachedBoards(): Promise<Board[]> { | ||||
|     return this.boardDiscovery.getAttachedBoards(); | ||||
|   } | ||||
|  | ||||
|   async getAvailablePorts(): Promise<Port[]> { | ||||
|     return this.boardDiscovery.getAvailablePorts(); | ||||
|   } | ||||
|  | ||||
|   async getBoardDetails(options: { | ||||
|     fqbn: string; | ||||
|   }): Promise<BoardDetails | undefined> { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Akos Kitta
					Akos Kitta