Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 391 → Rev 392

/QMK-Groundstation/branches/own_com_lib/com/Handler.cpp
1,9 → 1,16
#include<Handler.h>
 
/**
* Constructor that gets a communication instance
*/
Handler::Handler(Communication * com) {
this->com = com;
}
 
/**
* read mixer values from FlightCtrl
*/
void Handler::read_mixer() {
TX_Data[0] = 0;
o_Connection->send_Cmd('n', ADDRESS_FC, TX_Data, 1, true);
com->send_cmd('n', ADDRESS_FC, TX_Data, 1, true);
}