| 454 | } |
| 455 | |
| 456 | void LedDeviceLightpack::restartPingDevice(bool isSuccess) |
| 457 | { |
| 458 | Q_UNUSED(isSuccess); |
| 459 | |
| 460 | if (Settings::isBacklightEnabled() && Settings::isPingDeviceEverySecond()) |
| 461 | { |
| 462 | // Start ping device with PingDeviceInterval ms after last data transfer complete |
| 463 | m_timerPingDevice->start(kPingDeviceInterval); |
| 464 | } else { |
| 465 | m_timerPingDevice->stop(); |
| 466 | } |
| 467 | } |
| 468 | |
| 469 | void LedDeviceLightpack::timerPingDeviceTimeout() |
| 470 | { |