This commit is contained in:
Philippe Teuwen committed 2021-10-10 01:35:45 +02:00
1 parent 0ed66781a7
commit 88308ea727
98 files changed
+271 -271

No files matched your search

+2 -2
View File
@@ -100,7 +100,7 @@ void SendCommandOLD(uint64_t cmd, uint64_t arg0, uint64_t arg1, uint64_t arg2, v
but comm thread just spins here. Not good.../holiman
**/
while (txBuffer_pending) {
// wait for communication thread to complete sending a previous commmand
// wait for communication thread to complete sending a previous command
pthread_cond_wait(&txBufferSig, &txBufferMutex);
}
@@ -137,7 +137,7 @@ static void SendCommandNG_internal(uint16_t cmd, uint8_t *data, size_t len, bool
but comm thread just spins here. Not good.../holiman
**/
while (txBuffer_pending) {
// wait for communication thread to complete sending a previous commmand
// wait for communication thread to complete sending a previous command
pthread_cond_wait(&txBufferSig, &txBufferMutex);
}