mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-19 14:25:14 +03:00
chore: add comman dangle rule for multiline
This commit is contained in:
parent
ae2ef20ce2
commit
03690e087f
43 changed files with 203 additions and 202 deletions
|
@ -11,7 +11,7 @@ function seek(firmware, address) {
|
|||
for (; index < firmware.data.length && address >= firmware.data[index].address + firmware.data[index].bytes; index++);
|
||||
|
||||
const result = {
|
||||
lineIndex: index
|
||||
lineIndex: index,
|
||||
};
|
||||
|
||||
if (firmware.data[index] && address >= firmware.data[index].address) {
|
||||
|
@ -67,7 +67,7 @@ function generateData(firmware, input, startAddress) {
|
|||
const line = {
|
||||
address: address,
|
||||
bytes: BLOCK_SIZE > remaining ? remaining : BLOCK_SIZE,
|
||||
data: []
|
||||
data: [],
|
||||
};
|
||||
|
||||
if (firmware.data[index.lineIndex] && (line.address + line.bytes) > firmware.data[index.lineIndex].address) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue