master
ha7ilm 2015-09-20 15:51:55 +00:00
rodzic 9551b3e2c6
commit 8458d87948
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -17,6 +17,7 @@ gpioclk: gpioclk.cpp
clean:
-rm gpioclk
-rm wspr
-rm mailbox.o
.PHONY: install
install: wspr

Wyświetl plik

@ -228,7 +228,6 @@ void deallocMemPool()
mem_unlock(mbox.handle, mbox.mem_ref);
mem_free(mbox.handle, mbox.mem_ref);
}
printf("deallocMemPool\n");
}
void freeRealMemPage(void* vAddr) {
@ -382,6 +381,7 @@ void setupDMATab(
// Create DMA table of tuning words. WSPR tone i will use entries 2*i and
// 2*i+1 to generate the appropriate tone.
dma_table_freq.resize(1024);
printf("tone_spacing: %g\n",tone_spacing);
double tone0_freq=center_freq_actual-1.5*tone_spacing;
vector <long int> tuning_word(1024);
for (int i=0;i<8;i++) {