| 75 | } |
| 76 | |
| 77 | void gxCmdQueueRun(gxCmdQueue_s* queue) |
| 78 | { |
| 79 | if (isRunning) |
| 80 | return; |
| 81 | curQueue = queue; |
| 82 | isActive = true; |
| 83 | if (queue->lastEntry < queue->numEntries) |
| 84 | { |
| 85 | isRunning = true; |
| 86 | LightLock_Lock(&queueLock); |
| 87 | gxCmdQueueDoCommands(); |
| 88 | LightLock_Unlock(&queueLock); |
| 89 | } else |
| 90 | isRunning = false; |
| 91 | } |
| 92 | |
| 93 | void gxCmdQueueStop(gxCmdQueue_s* queue) |
| 94 | { |
nothing calls this directly
no test coverage detected