1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-19 06:15:13 +03:00

More fixes

This commit is contained in:
KiteAnton 2016-07-14 00:38:31 +02:00
parent e135d85d5d
commit 6334e1a3e9
2 changed files with 3 additions and 3 deletions

View file

@ -743,7 +743,7 @@ var MSP = {
if (letter != '\0') {
name += letter;
}
} while (letter != '\0' && offset < 100);
} while (letter != '\0');
CONFIG.name = name;
break;
@ -1507,7 +1507,7 @@ MSP.crunch = function (code) {
break;
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));
}
break;