remvoe debug code
This commit is contained in:
parent
511c4ae9c0
commit
3d246ba6c4
@ -1,4 +1,3 @@
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <pthread.h>
|
||||
|
||||
@ -38,7 +37,6 @@ void ringbufferPut(uint32_t f) {
|
||||
|
||||
uint32_t ringbufferGet() {
|
||||
if (bufferReadIdx == bufferWriteIdx) {
|
||||
printf("wait\n");
|
||||
pthread_mutex_lock(&eventMutex);
|
||||
pthread_cond_wait(&eventSignal, &eventMutex);
|
||||
pthread_mutex_unlock(&eventMutex);
|
||||
|
Loading…
x
Reference in New Issue
Block a user