lib/drone.js
function flatTrim(options, callback) {
  if (typeof options === 'function') {
    callback = options;
    options = {};
  }
  this.logger('RollingSpider#flatTrim');
  this.writeTo(
    'fa0b',
    new Buffer([0x02, ++this.steps.fa0b & 0xFF, 0x02, 0x00, 0x00, 0x00]),
    callback
  );
}
function flatTrim(options, callback) {
  if (typeof options === 'function') {
    callback = options;
    options = {};
  }
  this.logger('RollingSpider#flatTrim');
  this.writeTo(
    'fa0b',
    new Buffer([0x02, ++this.steps.fa0b & 0xFF, 0x02, 0x00, 0x00, 0x00]),
    callback
  );
}
function flatTrim ( options , callback ) { if ( typeof options === 'function' ) { callback = options ; options = { } ; } this . logger ( 'RollingSpider#flatTrim' ) ; this . writeTo ( 'fa0b' , new Buffer ( [ 0x02 , ++ this . steps . fa0b & 0xFF , 0x02 , 0x00 , 0x00 , 0x00 ] ) , callback ) ; }
Instructs the drone to trim. Make sure to call this before taking off.
Instructs the drone to trim . Make sure to call this before taking off .