|
|
|
|
@ -24,7 +24,7 @@ |
|
|
|
|
#define LED_BLUE_PIN 2U |
|
|
|
|
|
|
|
|
|
/* number of splitflaps that are connected / used. max 4. */ |
|
|
|
|
#define NUM_SF_USED 2 |
|
|
|
|
#define NUM_SF_USED 4 |
|
|
|
|
|
|
|
|
|
/* vars */ |
|
|
|
|
static McuLED_Handle_t LED_blue; |
|
|
|
|
@ -271,7 +271,7 @@ void configureSplitflaps(void){ |
|
|
|
|
|
|
|
|
|
/* create config instance for splitflap 2 */ |
|
|
|
|
SF_Config_t sf2Config; |
|
|
|
|
sf2Config.setupIdentifier = 1; |
|
|
|
|
sf2Config.setupIdentifier = 2; |
|
|
|
|
sf2Config.hardwareIdentifier = 20; // default value
|
|
|
|
|
sf2Config.magSensorConfig = magSensor2Config; |
|
|
|
|
sf2Config.motorConfig = motor2Config; |
|
|
|
|
@ -310,7 +310,7 @@ void configureSplitflaps(void){ |
|
|
|
|
|
|
|
|
|
/* create config instance for splitflap 3 */ |
|
|
|
|
SF_Config_t sf3Config; |
|
|
|
|
sf3Config.setupIdentifier = 1; |
|
|
|
|
sf3Config.setupIdentifier = 3; |
|
|
|
|
sf3Config.hardwareIdentifier = 20; // default value
|
|
|
|
|
sf3Config.magSensorConfig = magSensor3Config; |
|
|
|
|
sf3Config.motorConfig = motor3Config; |
|
|
|
|
|