mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-16 12:55:13 +03:00
optimizing
This commit is contained in:
parent
59c374db3f
commit
150038e65a
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ var message_checksum = 0;
|
|||
var char_counter = 0;
|
||||
|
||||
function onCharRead(readInfo) {
|
||||
if (readInfo && readInfo.bytesRead > 0 && readInfo.data) {
|
||||
if (readInfo && readInfo.bytesRead > 0) {
|
||||
var data = new Uint8Array(readInfo.data);
|
||||
|
||||
for (var i = 0; i < data.length; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue