summaryrefslogtreecommitdiff
path: root/software/hhd70dongle/c1101lib.c
diff options
context:
space:
mode:
authorBernhard Tittelbach <xro@realraum.at>2012-05-20 02:06:35 +0000
committerBernhard Tittelbach <xro@realraum.at>2012-05-20 02:06:35 +0000
commit9b1ebc560185d03c930deac98fd7a9a06aac58fc (patch)
tree90016b997d2da24b632d59c91a5c1267214fa47b /software/hhd70dongle/c1101lib.c
parentattempt to open several usb device ids (diff)
found a 'datasheet' for hhd70, thus exchanged RE/TE
git-svn-id: https://svn.spreadspace.org/mur.sat@445 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/hhd70dongle/c1101lib.c')
-rw-r--r--software/hhd70dongle/c1101lib.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/software/hhd70dongle/c1101lib.c b/software/hhd70dongle/c1101lib.c
index 02ec5fc..1c60727 100644
--- a/software/hhd70dongle/c1101lib.c
+++ b/software/hhd70dongle/c1101lib.c
@@ -384,8 +384,7 @@ void c1101_transmitData(char *buffer, unsigned int len)
//~ usb_rawhid_send(debug_sb,255);
//enable Power Amplifier
- hhd70_lna_disable();
- hhd70_pa_enable();
+ hhd70_palna_txmode();
//keep buffer filled
uint8_t c1101_state=0;
@@ -416,8 +415,7 @@ void c1101_transmitData(char *buffer, unsigned int len)
} while (len > 0);
//disable Power Amplifier
- hhd70_pa_disable();
- hhd70_lna_enable();
+ hhd70_palna_rxmode();
}
void c1101_recieveData(void)