Correction for AFF3 MPU CS PIN

This commit is contained in:
blckmn 2016-06-04 09:47:50 +10:00
parent 78da0fad65
commit 943c7cdb9d
2 changed files with 3 additions and 7 deletions

View File

@ -20,7 +20,6 @@
#include <stdlib.h> #include <stdlib.h>
#include "platform.h" #include "platform.h"
#include "build_config.h" #include "build_config.h"
#include "drivers/system.h" #include "drivers/system.h"
@ -36,7 +35,7 @@ static const char * const hardwareRevisionNames[] = {
uint8_t hardwareRevision = UNKNOWN; uint8_t hardwareRevision = UNKNOWN;
static IO_t HWDetectPin = DEFIO_IO(NONE); static IO_t HWDetectPin = IO_NONE;
void detectHardwareRevision(void) void detectHardwareRevision(void)
{ {

View File

@ -19,7 +19,6 @@
#define TARGET_BOARD_IDENTIFIER "AFF3" // AlienFlight F3. #define TARGET_BOARD_IDENTIFIER "AFF3" // AlienFlight F3.
#define USE_HARDWARE_REVISION_DETECTION #define USE_HARDWARE_REVISION_DETECTION
#define HW_PIN PB2 #define HW_PIN PB2
// LED's V1 // LED's V1
@ -110,9 +109,7 @@
#define USE_SPI #define USE_SPI
#define USE_SPI_DEVICE_3 #define USE_SPI_DEVICE_3
#define MPU6500_CS_GPIO_CLK_PERIPHERAL RCC_AHBPeriph_GPIOA #define MPU6500_CS_PIN PA15
#define MPU6500_CS_GPIO GPIOA
#define MPU6500_CS_PIN GPIO_Pin_15
#define MPU6500_SPI_INSTANCE SPI3 #define MPU6500_SPI_INSTANCE SPI3
#define USE_ADC #define USE_ADC