Terminal is optional (#75)

This commit is contained in:
Paulus Schoutsen 2023-01-19 01:20:24 -05:00 committed by GitHub
parent 99bcaf0272
commit ebccd23944
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,7 +93,7 @@ export class ESPLoader {
constructor(
public transport: Transport,
private baudrate: number,
private terminal: IEspLoaderTerminal,
private terminal?: IEspLoaderTerminal,
private rom_baudrate = 115200,
private debugLogging = false,
) {