/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/receiver.cc

  • Committer: Tim Marston
  • Date: 2014-01-15 22:18:56 UTC
  • Revision ID: tim@ed.am-20140115221856-lcqttlborwi7ot7k
rc-interface: mostly completed it (untested, but rx and tx code should work)

Show diffs side-by-side

added added

removed removed

66
66
}
67
67
 
68
68
 
69
 
bool Receiver::read_channels( int channel_values[] )
 
69
bool Receiver::read_channels( unsigned long channel_values[] )
70
70
{
71
71
        static unsigned long last_pulse_down = 0;
72
72
        static int next_channel = 0;