Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of SX1272Lib by
Revision 8:59856511677d, committed 2018-07-25
- Comitter:
- limchy
- Date:
- Wed Jul 25 08:17:01 2018 +0000
- Parent:
- 7:b988b60083a1
- Commit message:
- test
Changed in this revision
sx1272/sx1272-hal.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r b988b60083a1 -r 59856511677d sx1272/sx1272-hal.cpp --- a/sx1272/sx1272-hal.cpp Mon Apr 24 09:26:08 2017 +0000 +++ b/sx1272/sx1272-hal.cpp Wed Jul 25 08:17:01 2018 +0000 @@ -179,7 +179,7 @@ nss = 1; spi.format( 8,0 ); uint32_t frequencyToSet = 8000000; - #if( defined ( TARGET_NUCLEO_L152RE ) || defined ( TARGET_MOTE_L152RC ) || defined ( TARGET_NUCLEO_L476RG ) || defined ( TARGET_LPC11U6X ) || defined ( TARGET_MTS_MDOT_F411RE ) ) + #if( defined ( TARGET_NUCLEO_L152RE ) || defined ( TARGET_MOTE_L152RC ) || defined ( TARGET_NUCLEO_L073RZ ) || defined ( TARGET_NUCLEO_L476RG ) || defined ( TARGET_LPC11U6X ) || defined ( TARGET_MTS_MDOT_F411RE ) ) spi.frequency( frequencyToSet ); #elif( defined ( TARGET_KL25Z ) ) //busclock frequency is halved -> double the spi frequency to compensate spi.frequency( frequencyToSet * 2 );