Skip to content

Commit 571f6ab

Browse files
committed
Merge branch 'bugfix/gatts_cfg_overly_modified_by_at.py_v3.2.0.0' into 'release/v3.2.0.0'
fix: gatts_cfg is overly modified by at.py script (v3.2.0.0) See merge request application/esp-at!1636
2 parents 5661f48 + c7166e8 commit 571f6ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/at.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,7 @@ def at_update_param(key, type, value, data):
10551055
lines = data.split('\n')
10561056
for i in range(len(lines)):
10571057
line = lines[i].strip()
1058-
if line.startswith(key) and "namespace" not in line:
1058+
if line.split(',')[0] == key and 'namespace' not in line:
10591059
parts = line.split(NVS_KEY_TYPE[type])
10601060
if type == 'S':
10611061
parts[-1] = '"' + str(value) + '"'

0 commit comments

Comments
 (0)