mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +01:00
Added 256Kbit/s RF datarate mode
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2877 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
a2e1e3e7d0
commit
81baa9506a
@ -132,8 +132,11 @@ PipXtremeGadgetWidget::PipXtremeGadgetWidget(QWidget *parent) :
|
||||
m_widget = new Ui_PipXtremeWidget();
|
||||
m_widget->setupUi(this);
|
||||
|
||||
// qsrand(QDateTime::currentDateTime().toMSecsSinceEpoch()); // only available with Qt 4.7.1 and later
|
||||
#if QT_VERSION >= 0x040700
|
||||
qsrand(QDateTime::currentDateTime().toMSecsSinceEpoch());
|
||||
#else
|
||||
qsrand(QDateTime::currentDateTime().toTime_t());
|
||||
#endif
|
||||
|
||||
device_input_buffer.size = 8192;
|
||||
device_input_buffer.used = 0;
|
||||
@ -187,6 +190,7 @@ PipXtremeGadgetWidget::PipXtremeGadgetWidget(QWidget *parent) :
|
||||
m_widget->comboBox_MaxRFBandwidth->addItem("64000", 64000);
|
||||
m_widget->comboBox_MaxRFBandwidth->addItem("128000", 128000);
|
||||
m_widget->comboBox_MaxRFBandwidth->addItem("192000", 192000);
|
||||
m_widget->comboBox_MaxRFBandwidth->addItem("256000", 256000);
|
||||
m_widget->comboBox_MaxRFBandwidth->setCurrentIndex(m_widget->comboBox_MaxRFBandwidth->findText("128000"));
|
||||
|
||||
m_widget->comboBox_MaxRFTxPower->clear();
|
||||
|
Loading…
Reference in New Issue
Block a user