Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 750 → Rev 674

/QMK-Groundstation/trunk/QMK-Settings/Dialogs/dlg_MotorMixer.cpp
68,8 → 68,9
}
 
// Connection-Object übergeben.
void dlg_MotorMixer::set_Objects(cSettings *t_Settings, s_Directorys t_Dir)
void dlg_MotorMixer::set_Objects(Input *t_Input, cSettings *t_Settings, s_Directorys t_Dir)
{
o_Input = t_Input;
o_Settings = t_Settings;
s_Dir = t_Dir;
}
244,8 → 245,7
void dlg_MotorMixer::read_Mixer()
{
c_Data[0] = 0;
// o_Input->send_Data(HandlerMK::make_Frame('n', ADDRESS_FC, c_Data, 0).toLatin1().data(), DATA_READ_MIXER);
emit sig_SendData(HandlerMK::make_Frame('n', ADDRESS_FC, c_Data, 0).toLatin1().data(), DATA_READ_MIXER);
o_Input->send_Data(HandlerMK::make_Frame('n', ADDRESS_FC, c_Data, 0).toLatin1().data(), DATA_READ_MIXER);
}
 
// Button-Slots
260,8 → 260,7
 
memcpy((unsigned char *)&c_Data, (unsigned char *)&MK_Mixer, sizeof(MK_Mixer));
 
// o_Input->send_Data(HandlerMK::make_Frame('m', ADDRESS_FC, c_Data, sizeof(MK_Mixer)).toLatin1().data(), DATA_WRITE_MIXER);
emit sig_SendData(HandlerMK::make_Frame('m', ADDRESS_FC, c_Data, sizeof(MK_Mixer)).toLatin1().data(), DATA_WRITE_MIXER);
o_Input->send_Data(HandlerMK::make_Frame('m', ADDRESS_FC, c_Data, sizeof(MK_Mixer)).toLatin1().data(), DATA_WRITE_MIXER);
}
 
void dlg_MotorMixer::slot_pb_LOAD()