diff --git a/software/hermes-emulator-protocol-2/Makefile b/software/hermes-emulator-protocol-2/Makefile index 9c29f82..b94a129 100644 --- a/software/hermes-emulator-protocol-2/Makefile +++ b/software/hermes-emulator-protocol-2/Makefile @@ -1,9 +1,9 @@ CC=gcc LINK=gcc -OPTIONS=-g +OPTIONS=-g -Wno-deprecated-declarations -march=native -O2 -LIBS=-lrt -lm -lwiringPi -lpigpio -lpthread -lasound +LIBS=-lrt -lm -lpigpio -lpthread -lasound COMPILE=$(CC) $(OPTIONS) $(INCLUDES) diff --git a/software/hermes-emulator-protocol-2/hermeslite.c b/software/hermes-emulator-protocol-2/hermeslite.c index 9d72644..e7e7b8f 100644 --- a/software/hermes-emulator-protocol-2/hermeslite.c +++ b/software/hermes-emulator-protocol-2/hermeslite.c @@ -376,6 +376,7 @@ void *send_rx_iq_to_host(void *arg) { while(1) { if (running) { + while (ptt) {usleep(20000);} sem_wait(&mutex);