Rev 396 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 396 | Rev 399 | ||
---|---|---|---|
Line 290... | Line 290... | ||
290 | return Pos - 1; |
290 | return Pos - 1; |
291 | } |
291 | } |
Line 292... | Line 292... | ||
292 | 292 | ||
293 | void dlg_MotorMixer::read_Mixer() |
293 | void dlg_MotorMixer::read_Mixer() |
294 | { |
- | |
295 | TX_Data[0] = 0; |
294 | { |
296 | o_Connection->send_Cmd('n', ADDRESS_FC, TX_Data, 1, true); |
295 | //See Handler::read_mixer in com/Handler.cpp |
Line 297... | Line 296... | ||
297 | }*/ |
296 | }*/ |
298 | 297 | ||
299 | // read motor values |
298 | // read motor values |
Line 306... | Line 305... | ||
306 | //write motor values |
305 | //write motor values |
307 | //FIXME: put this in com/Handler.cpp |
306 | //FIXME: put this in com/Handler.cpp |
Line 308... | Line 307... | ||
308 | 307 | ||
309 | void dlg_MotorMixer::slot_pb_WRITE() |
308 | void dlg_MotorMixer::slot_pb_WRITE() |
310 | { |
309 | { |
311 | /* int Length = get_MotorConfig(); |
310 | /* int Length = handler->get_motor_config(); |
312 | o_Connection->send_Cmd('m', ADDRESS_FC, TX_Data, Length, true);*/ |
311 | handler->write_mixer(TX_Data, Length);*/ |
Line 313... | Line 312... | ||
313 | } |
312 | } |
314 | 313 | ||
315 | void dlg_MotorMixer::slot_pb_LOAD() |
314 | void dlg_MotorMixer::slot_pb_LOAD() |