mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-24 11:46:32 +00:00
warn when uploading with programmer but not set
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
parent
f4097b5b24
commit
d51bf9fb40
@ -99,6 +99,9 @@ export class UploadSketch extends SketchContribution {
|
||||
]);
|
||||
this.outputChannelManager.getChannel('Arduino: upload').clear();
|
||||
const programmer = usingProgrammer ? data.selectedProgrammer : undefined;
|
||||
if (usingProgrammer && !programmer) {
|
||||
this.messageService.warn('Programmer is not selected. Uploading without programmer.', { timeout: 2000 });
|
||||
}
|
||||
await this.coreService.upload({
|
||||
sketchUri: uri,
|
||||
fqbn,
|
||||
|
Loading…
x
Reference in New Issue
Block a user