| 107 | void ToolMenuHeaderWidget::onBlinkLed(int retCode) {} |
| 108 | |
| 109 | void ToolMenuHeaderWidget::handleSingle(bool isSuccess) |
| 110 | { |
| 111 | if(m_ledState != IDLE && m_ledState != STREAM_RUNNING) { |
| 112 | return; |
| 113 | } |
| 114 | if(m_ledState == IDLE) { |
| 115 | m_ledBtn->ledOn(); |
| 116 | m_ledState = SINGLE_RUNNING; |
| 117 | } else { |
| 118 | m_ledBtn->ledOff(); |
| 119 | m_ledState = SINGLE_INTERRUPT; |
| 120 | } |
| 121 | m_ledBtn->setLedState(isSuccess); |
| 122 | m_timer->start(); |
| 123 | } |
| 124 | |
| 125 | void ToolMenuHeaderWidget::handleStream(bool isSuccess) |
| 126 | { |
nothing calls this directly
no test coverage detected