From c0ede070c58c28e4b7a6c808aa9fc04d27ed21ed Mon Sep 17 00:00:00 2001 From: mikeschmidt-glydways Date: Thu, 24 Apr 2025 09:50:34 -0400 Subject: [PATCH 1/2] Fix bug where setting svdAddrGapThreshold to 0 in launch.json caused the default gap of 16 to be used instead. Check "thresh == undefined" instead of "!thresh". --- src/views/peripheral.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/peripheral.ts b/src/views/peripheral.ts index 323b19f..bd4761c 100644 --- a/src/views/peripheral.ts +++ b/src/views/peripheral.ts @@ -388,7 +388,7 @@ export class PeripheralTreeProvider implements vscode.TreeDataProvider(manifest.CONFIG_ADDRGAP) || manifest.DEFAULT_ADDRGAP; } From 575c9b7979b62d23c7c94706a4a2d6d65d1df62a Mon Sep 17 00:00:00 2001 From: mikeschmidt-glydways Date: Thu, 24 Apr 2025 10:05:54 -0400 Subject: [PATCH 2/2] Use strict equality in thresh comparison --- src/views/peripheral.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/peripheral.ts b/src/views/peripheral.ts index bd4761c..6dff32b 100644 --- a/src/views/peripheral.ts +++ b/src/views/peripheral.ts @@ -388,7 +388,7 @@ export class PeripheralTreeProvider implements vscode.TreeDataProvider(manifest.CONFIG_ADDRGAP) || manifest.DEFAULT_ADDRGAP; }