serial.send won't depend on callback anymore

10.3.x-maintenance v0.54.2
cTn 2014-10-08 11:15:02 +02:00
parent 296a925494
commit c34938b9d6
2 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@ var serial = {
self.bytes_sent += sendInfo.bytesSent; self.bytes_sent += sendInfo.bytesSent;
// fire callback // fire callback
callback(sendInfo); if (callback) callback(sendInfo);
// remove data for current transmission form the buffer // remove data for current transmission form the buffer
self.output_buffer.shift(); self.output_buffer.shift();

View File

@ -1,7 +1,7 @@
{ {
"manifest_version": 2, "manifest_version": 2,
"minimum_chrome_version": "36", "minimum_chrome_version": "36",
"version": "0.54.1", "version": "0.54.2",
"author": "cTn", "author": "cTn",
"name": "Baseflight - Configurator", "name": "Baseflight - Configurator",