Skip to content

Commit

Permalink
Merge branch 'bugfix/gatts_cfg_overly_modified_by_at.py_v3.3.0.0' int…
Browse files Browse the repository at this point in the history
…o '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
  • Loading branch information
xcguang committed Oct 24, 2024
2 parents a0104e1 + cf07aed commit 40ed2b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/at.py
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ def at_update_param(key, type, value, data):
lines = data.split('\n')
for i in range(len(lines)):
line = lines[i].strip()
if line.startswith(key) and 'namespace' not in line:
if line.split(',')[0] == key and 'namespace' not in line:
parts = line.split(NVS_KEY_TYPE[type])
if type == 'S':
parts[-1] = '"' + str(value) + '"'
Expand Down

0 comments on commit 40ed2b9

Please sign in to comment.