Qt: Slow down sensor view polling

This commit is contained in:
Vicki Pfau 2018-10-01 16:36:31 -07:00
parent 12cf61f9fc
commit ac2c1417ad
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ SensorView::SensorView(InputController* input, QWidget* parent)
m_ui.time->setDateTime(QDateTime::currentDateTime());
});
m_timer.setInterval(2);
m_timer.setInterval(15);
connect(&m_timer, &QTimer::timeout, this, &SensorView::updateSensors);
if (!m_rotation || !m_rotation->readTiltX || !m_rotation->readTiltY) {
m_ui.tilt->hide();