remvoe debug code

This commit is contained in:
Wolfgang Hottgenroth 2019-10-05 23:29:29 +01:00
parent 511c4ae9c0
commit 3d246ba6c4

View File

@ -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);