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