From 570efc13614e6da8dff28d5c7e1e46613c3e217e Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Thu, 14 Jun 2012 13:06:48 -0700 Subject: [PATCH] Added max2837_rx() function. --- firmware/common/max2837.c | 8 ++++++++ firmware/common/max2837.h | 1 + 2 files changed, 9 insertions(+) diff --git a/firmware/common/max2837.c b/firmware/common/max2837.c index 96561b41..a9e8120d 100644 --- a/firmware/common/max2837.c +++ b/firmware/common/max2837.c @@ -192,6 +192,14 @@ void max2837_tx(void) #endif } +void max2837_rx(void) +{ + LOG("# max2837_rx\n"); +#if !defined TEST + gpio_set(PORT_XCVR_ENABLE, PIN_XCVR_RXENABLE); +#endif +} + void max2837_stop(void) { LOG("# max2837_stop\n"); diff --git a/firmware/common/max2837.h b/firmware/common/max2837.h index 25878bb9..50cf38d7 100644 --- a/firmware/common/max2837.h +++ b/firmware/common/max2837.h @@ -42,5 +42,6 @@ extern void max2837_stop(void); extern void max2837_set_frequency(uint32_t freq); extern void max2837_tx(void); +extern void max2837_rx(void); #endif // __MAX2837_H