V148
Fork of RadioHead-148 by
Revision 1:b7641da2b203, committed 2017-10-25
- Comitter:
- ilkaykozak
- Date:
- Wed Oct 25 05:14:09 2017 +0000
- Parent:
- 0:ab4e012489ef
- Commit message:
- V148
Changed in this revision
RHHardwareSPI.cpp | Show annotated file Show diff for this revision Revisions of this file |
RadioHead.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/RHHardwareSPI.cpp Thu Oct 15 01:27:00 2015 +0000 +++ b/RHHardwareSPI.cpp Wed Oct 25 05:14:09 2017 +0000 @@ -19,9 +19,9 @@ HardwareSPI _SPI(1); #elif (RH_PLATFORM == RH_PLATFORM_MBED) // MBed // Declare an SPI interface to use -#define SPI_MOSI PB_15 -#define SPI_MISO PB_14 -#define SPI_CLK PB_13 +#define SPI_MOSI PA_3 +#define SPI_MISO PA_2 +#define SPI_CLK PA_1 SPI _SPI(SPI_MOSI, SPI_MISO, SPI_CLK);
--- a/RadioHead.h Thu Oct 15 01:27:00 2015 +0000 +++ b/RadioHead.h Wed Oct 25 05:14:09 2017 +0000 @@ -579,7 +579,8 @@ #elif defined(TARGET_STM32F407) // Mbed STM32F4 #define RH_PLATFORM RH_PLATFORM_MBED #else - #error Platform not defined! +// #error Platform not defined! + #define RH_PLATFORM RH_PLATFORM_MBED #endif #endif