kopia lustrzana https://github.com/pa3gsb/Radioberry-2.x
O2 level
rodzic
06f433e4da
commit
d32ec0d057
|
@ -1,9 +1,9 @@
|
||||||
CC=gcc
|
CC=gcc
|
||||||
LINK=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)
|
COMPILE=$(CC) $(OPTIONS) $(INCLUDES)
|
||||||
|
|
||||||
|
|
|
@ -376,6 +376,7 @@ void *send_rx_iq_to_host(void *arg) {
|
||||||
|
|
||||||
while(1) {
|
while(1) {
|
||||||
if (running) {
|
if (running) {
|
||||||
|
|
||||||
while (ptt) {usleep(20000);}
|
while (ptt) {usleep(20000);}
|
||||||
|
|
||||||
sem_wait(&mutex);
|
sem_wait(&mutex);
|
||||||
|
|
Ładowanie…
Reference in New Issue