diff options
author | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2020-04-20 13:37:13 +0200 |
---|---|---|
committer | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2020-04-20 13:37:13 +0200 |
commit | ba4cad888865cd19e14cde42c03cc50f2a0745ab (patch) | |
tree | b1a75ee2cdfb1b6228a975690381cc4e5783fc0e /controller/fw/tools/dsss_demod_test.c | |
parent | 87ae7dfcb35d9a55950eecc2116d13d73b2b9ece (diff) | |
download | master-thesis-ba4cad888865cd19e14cde42c03cc50f2a0745ab.tar.gz master-thesis-ba4cad888865cd19e14cde42c03cc50f2a0745ab.tar.bz2 master-thesis-ba4cad888865cd19e14cde42c03cc50f2a0745ab.zip |
Add fw simulator
Diffstat (limited to 'controller/fw/tools/dsss_demod_test.c')
-rw-r--r-- | controller/fw/tools/dsss_demod_test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/controller/fw/tools/dsss_demod_test.c b/controller/fw/tools/dsss_demod_test.c index a1e269a..f7df111 100644 --- a/controller/fw/tools/dsss_demod_test.c +++ b/controller/fw/tools/dsss_demod_test.c @@ -15,7 +15,8 @@ void handle_dsss_received(symbol_t data[static TRANSMISSION_SYMBOLS]) { printf("data sequence received: [ "); for (size_t i=0; i<TRANSMISSION_SYMBOLS; i++) { - printf("%+3d", ((data[i]&1) ? 1 : -1) * (data[i]>>1)); + //printf("%+3d", ((data[i]&1) ? 1 : -1) * (data[i]>>1)); + printf("%2d", data[i]); if (i+1 < TRANSMISSION_SYMBOLS) printf(", "); } |