SX1276Lib
Fork of SX1276Lib by
Revision 15:04374b1c33fa, committed 2015-01-22
- Comitter:
- mluis
- Date:
- Thu Jan 22 12:47:47 2015 +0000
- Parent:
- 14:8552d0b840be
- Child:
- 16:d447f8d2d2d6
- Commit message:
- Enabled by default the whitening when using FSK modem.; Added an invalid bandwidth to the Bandwidths table in order to avoid an error when selecting 250 kHz bandwidth when using FSK modem.
Changed in this revision
sx1276/sx1276-hal.cpp | Show annotated file Show diff for this revision Revisions of this file |
sx1276/sx1276.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/sx1276/sx1276-hal.cpp Wed Jan 07 08:51:37 2015 +0000 +++ b/sx1276/sx1276-hal.cpp Thu Jan 22 12:47:47 2015 +0000 @@ -25,7 +25,7 @@ { MODEM_FSK , REG_SYNCVALUE1 , 0xC1 }, { MODEM_FSK , REG_SYNCVALUE2 , 0x94 }, { MODEM_FSK , REG_SYNCVALUE3 , 0xC1 }, - { MODEM_FSK , REG_PACKETCONFIG1 , 0x98 }, + { MODEM_FSK , REG_PACKETCONFIG1 , 0xD8 }, { MODEM_FSK , REG_FIFOTHRESH , 0x8F }, { MODEM_FSK , REG_IMAGECAL , 0x02 }, { MODEM_FSK , REG_DIOMAPPING1 , 0x00 },
--- a/sx1276/sx1276.cpp Wed Jan 07 08:51:37 2015 +0000 +++ b/sx1276/sx1276.cpp Thu Jan 22 12:47:47 2015 +0000 @@ -36,7 +36,8 @@ { 125000, 0x02 }, { 166700, 0x11 }, { 200000, 0x09 }, - { 250000, 0x01 } + { 250000, 0x01 }, + { 0, 0x00 }, // Invalid Badwidth };