optimizing

10.3.x-maintenance
cTn 2013-08-31 12:30:44 +02:00
parent 59c374db3f
commit 150038e65a
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ var message_checksum = 0;
var char_counter = 0; var char_counter = 0;
function onCharRead(readInfo) { function onCharRead(readInfo) {
if (readInfo && readInfo.bytesRead > 0 && readInfo.data) { if (readInfo && readInfo.bytesRead > 0) {
var data = new Uint8Array(readInfo.data); var data = new Uint8Array(readInfo.data);
for (var i = 0; i < data.length; i++) { for (var i = 0; i < data.length; i++) {