diff options
author | Bernhard Tittelbach <xro@realraum.at> | 2012-05-19 20:12:39 +0000 |
---|---|---|
committer | Bernhard Tittelbach <xro@realraum.at> | 2012-05-19 20:12:39 +0000 |
commit | 9424c395f643ec0aece488a26b6f4ef1e44affd6 (patch) | |
tree | 64ceed1b1463e07e3f80419c51dcad5b56286a47 /software/hhd70dongle/c1101lib.c | |
parent | led on only during send (diff) |
enable/disable PA and LNA
git-svn-id: https://svn.spreadspace.org/mur.sat@439 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/hhd70dongle/c1101lib.c')
-rw-r--r-- | software/hhd70dongle/c1101lib.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/software/hhd70dongle/c1101lib.c b/software/hhd70dongle/c1101lib.c index 872c211..30bb94c 100644 --- a/software/hhd70dongle/c1101lib.c +++ b/software/hhd70dongle/c1101lib.c @@ -391,6 +391,10 @@ void c1101_transmitData(char *buffer, unsigned int len) //~ debug_sprint_int16hex(debug_sb, num_written); //~ usb_rawhid_send(debug_sb,255); + //enable Power Amplifier + hhd70_lna_disable(); + hhd70_pa_enable(); + //keep buffer filled uint8_t c1101_state=0; do @@ -418,6 +422,10 @@ void c1101_transmitData(char *buffer, unsigned int len) //~ debug_sprint_int16hex(debug_sb, c1101_getNumBytesInTXFifo()); //~ usb_rawhid_send(debug_sb,255); } while (len > 0); + + //disable Power Amplifier + hhd70_pa_disable(); + } //max returned: 64 bytes |