mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-19 14:25:14 +03:00
More fixes
This commit is contained in:
parent
e135d85d5d
commit
6334e1a3e9
2 changed files with 3 additions and 3 deletions
|
@ -743,7 +743,7 @@ var MSP = {
|
||||||
if (letter != '\0') {
|
if (letter != '\0') {
|
||||||
name += letter;
|
name += letter;
|
||||||
}
|
}
|
||||||
} while (letter != '\0' && offset < 100);
|
} while (letter != '\0');
|
||||||
CONFIG.name = name;
|
CONFIG.name = name;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -1507,7 +1507,7 @@ MSP.crunch = function (code) {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MSP_codes.MSP_SET_NAME:
|
case MSP_codes.MSP_SET_NAME:
|
||||||
for (var i = 0; i<32; i++) {
|
for (var i = 0; i<CONFIG.name.length; i++) {
|
||||||
buffer.push(CONFIG.name.charCodeAt(i));
|
buffer.push(CONFIG.name.charCodeAt(i));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -491,7 +491,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="spacer_box">
|
<div class="spacer_box">
|
||||||
<div class="number">
|
<div class="number">
|
||||||
<label> <input type="text" name="vesselName"/> <span
|
<label> <input type="text" name="vesselName" maxlength="32"/> <span
|
||||||
i18n="configurationVesselName"></span>
|
i18n="configurationVesselName"></span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue