Remove extra SGPIO API calls.

Functions are now performed in rf_path_set_direction().
This commit is contained in:
Jared Boone
2015-08-17 11:14:55 -07:00
parent adbc5a6f26
commit 69db61c5c1

View File

@ -29,9 +29,6 @@
#include <tuning.h>
void tx_test() {
sgpio_set_slice_mode(false);
sgpio_configure(TRANSCEIVER_MODE_TX);
// LSB goes out first, samples are 0x<Q1><I1><Q0><I0>
volatile uint32_t buffer[] = {
0xda808080,
@ -51,9 +48,6 @@ void tx_test() {
}
void rx_test() {
sgpio_set_slice_mode(false);
sgpio_configure(TRANSCEIVER_MODE_RX);
volatile uint32_t buffer[4096];
uint32_t i = 0;
uint32_t magsq;