Skip to content

Commit dbdcb66

Browse files
committed
Merge branch 'bugfix/gatts_cfg_overly_modified_by_at.py' into 'master'
fix: gatts_cfg is overly modified by at.py script See merge request application/esp-at!1618
2 parents c93b430 + 4706637 commit dbdcb66

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)