Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit cdf9f34

Browse files
elektronikworkshopadiazulay
authored andcommitted
Added/reviewed some notes
1 parent 4202508 commit cdf9f34

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/extension.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,11 @@ export async function activate(context: vscode.ExtensionContext) {
217217
});
218218

219219
registerArduinoCommand("arduino.selectProgrammer", async () => {
220-
// TODO EW: this guard does not prevent building when setting the programmer
220+
// Note: this guard does not prevent building while setting the
221+
// programmer. But when looking at the code of selectProgrammer
222+
// it seems not to be possible to trigger building while setting
223+
// the programmer. If the timed IntelliSense analysis is triggered
224+
// this is not a problem, since it doesn't use the programmer.
221225
if (!arduinoContextModule.default.arduinoApp.building) {
222226
try {
223227
await arduinoContextModule.default.arduinoApp.programmerManager.selectProgrammer();

0 commit comments

Comments
 (0)