| 226 | static uint8_t inputHandlerPauseDepth = 0; |
| 227 | |
| 228 | void pauseInputHandlerTask() { |
| 229 | if (!xHandle) return; |
| 230 | if (inputHandlerPauseDepth++ == 0) vTaskSuspend(xHandle); |
| 231 | } |
| 232 | |
| 233 | void resumeInputHandlerTask() { |
| 234 | if (!xHandle || inputHandlerPauseDepth == 0) return; |
no outgoing calls
no test coverage detected