diff options
author | Christian Pointner <equinox@mur.at> | 2013-02-13 06:36:22 +0000 |
---|---|---|
committer | Christian Pointner <equinox@mur.at> | 2013-02-13 06:36:22 +0000 |
commit | ed3c6eded1dab4fefd8fbe8ea5f2f1a1227fea47 (patch) | |
tree | 55826c941f0443486f043380574be57447df45f3 /software | |
parent | hhd70dongle v0.2b (diff) |
added N (no mode)
git-svn-id: https://svn.spreadspace.org/mur.sat@671 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software')
-rw-r--r-- | software/hhd70dongle/hhd70dongle.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/software/hhd70dongle/hhd70dongle.c b/software/hhd70dongle/hhd70dongle.c index 32bccac..e3b0983 100644 --- a/software/hhd70dongle/hhd70dongle.c +++ b/software/hhd70dongle/hhd70dongle.c @@ -227,6 +227,15 @@ int main(void) wdt_enable(WDTO_500MS); reset(); } + else if ((char) recv_byte == 'N') { + enable_tx_part=false; + enable_rx_part=false; + enable_beacon_part=false; + c1101_spi_strobe_command(SPIC1101_ADDR_SRES); // reset c1101 + hhd70_palna_rxmode(); + print_part_status(); + led_off(); + } else if ((char) recv_byte == 'B') { enable_beacon_part = !enable_beacon_part; |