/elec/quadcopter

To get this branch, use:
bzr branch http://bzr.ed.am/elec/quadcopter

« back to all changes in this revision

Viewing changes to src/rc-interface/comms.cc

  • Committer: dan
  • Date: 2014-04-03 00:27:07 UTC
  • Revision ID: dan-20140403002707-7s36e01rshjt84ak
found lost components and re-intergrated them back in to DanLib.lib, also rectified mega-shield.sch to incorperate DanLib.lib.

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
                                // copy channel values
78
78
                                unsigned char *data =
79
79
                                        reinterpret_cast< unsigned char * >( channel_values );
80
 
                                memcpy( buf, data, sizeof( int ) * NUM_MOTORS );
 
80
                                memcpy( data, buf, sizeof( int ) * NUM_MOTORS );
81
81
                        }
82
82
 
83
83
                        // reset read buffer