mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-24 00:35:14 +03:00
Bug in numbering of Lua multiple fields (only in generated documentation file, all numbers were too small by 1)
This commit is contained in:
parent
0b8963b15e
commit
ce303b2f4a
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ if docFile:
|
|||
#prepare fields
|
||||
all_exports = [(name, desc) for (id, name, desc) in exports]
|
||||
for (id, nameFormat, descriptionFormat, valuesCount) in exports_multiple:
|
||||
for v in range(valuesCount):
|
||||
for v in range(1, valuesCount + 1):
|
||||
name = nameFormat + str(v)
|
||||
desc = descriptionFormat % v
|
||||
all_exports.append( (name, desc) )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue