projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update afsk_test in order to comply to new Afsk context.
[bertos.git]
/
bertos
/
net
/
afsk_test.c
diff --git
a/bertos/net/afsk_test.c
b/bertos/net/afsk_test.c
index d835d628d8263f7ff4238eed091dd902b0496dcc..e3006c166eb542070147d253b92902554bacd37c 100644
(file)
--- a/
bertos/net/afsk_test.c
+++ b/
bertos/net/afsk_test.c
@@
-171,8
+171,7
@@
int afsk_testRun(void)
int c;
while ((c = fgetc(fp_adc)) != EOF)
{
int c;
while ((c = fgetc(fp_adc)) != EOF)
{
- afsk_adc_val = (int8_t)c;
- afsk_adc_isr();
+ afsk_adc_isr(&afsk_fd, (int8_t)c);
ax25_poll(&ax25);
}
ax25_poll(&ax25);
}
@@
-186,7
+185,7
@@
int afsk_testRun(void)
ax25_send(&ax25, AX25_CALL("abcdef", 0), AX25_CALL("123456", 1), buf, sizeof(buf));
while (afsk_tx_test)
ax25_send(&ax25, AX25_CALL("abcdef", 0), AX25_CALL("123456", 1), buf, sizeof(buf));
while (afsk_tx_test)
- afsk_dac_isr();
+ afsk_dac_isr(
&afsk_fd
);
#define SND_DATASIZE_OFF 8
#define SND_DATASIZE_OFF 8
@@
-204,8
+203,7
@@
int afsk_testRun(void)
while ((c = fgetc(fp_adc)) != EOF)
{
while ((c = fgetc(fp_adc)) != EOF)
{
- afsk_adc_val = (int8_t)c;
- afsk_adc_isr();
+ afsk_adc_isr(&afsk_fd, (int8_t)c);
ax25_poll(&ax25);
}
ax25_poll(&ax25);
}