Skip to content

Commit

Permalink
fix read wrong setting return resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
brianignacio5 committed Aug 13, 2024
1 parent 5e9ef1a commit f1ab03e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/espIdf/serial/serialPort.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export class SerialPort {
workspaceFolder
) as boolean;
const useSerialPortVendorProductFilter = idfConf.readParameter(
"idf.enableSerialPortChipIdRequest",
"idf.useSerialPortVendorProductFilter",
workspaceFolder
) as boolean;
if (useSerialPortVendorProductFilter) {
Expand All @@ -131,7 +131,7 @@ export class SerialPort {
}

if (!enableSerialPortChipIdRequest) {
return choices;
return resolve(choices);
}

const esptoolPath = join(
Expand Down

0 comments on commit f1ab03e

Please sign in to comment.