Skip to content

Commit 40ed2b9

Browse files
committed
Merge branch 'bugfix/gatts_cfg_overly_modified_by_at.py_v3.3.0.0' into 'release/v3.3.0.0'
fix: gatts_cfg is overly modified by at.py script (v3.3.0.0) See merge request application/esp-at!1635
2 parents a0104e1 + cf07aed commit 40ed2b9

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
@@ -1037,7 +1037,7 @@ def at_update_param(key, type, value, data):
10371037
lines = data.split('\n')
10381038
for i in range(len(lines)):
10391039
line = lines[i].strip()
1040-
if line.startswith(key) and 'namespace' not in line:
1040+
if line.split(',')[0] == key and 'namespace' not in line:
10411041
parts = line.split(NVS_KEY_TYPE[type])
10421042
if type == 'S':
10431043
parts[-1] = '"' + str(value) + '"'

0 commit comments

Comments
 (0)