From ed3c6eded1dab4fefd8fbe8ea5f2f1a1227fea47 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 13 Feb 2013 06:36:22 +0000 Subject: added N (no mode) git-svn-id: https://svn.spreadspace.org/mur.sat@671 7de4ea59-55d0-425e-a1af-a3118ea81d4c --- software/hhd70dongle/hhd70dongle.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'software') 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; -- cgit v1.2.3