Commit 9dc2dca1 authored by Henrique Silva's avatar Henrique Silva

Fix typo on FMC 12v Enable pin/port label

parent eb6698ad
......@@ -93,11 +93,11 @@ void setDC_DC_ConvertersON( bool on )
bool _on_fmc2 = false | on;
gpio_set_pin_state( GPIO_EN_FMC1_PVADJ_PORT, GPIO_EN_FMC1_PVADJ_PIN, _on_fmc1);
gpio_set_pin_state( GPIO_EM_FMC1_P12V_PORT, GPIO_EM_FMC1_P12V_PIN, _on_fmc1);
//gpio_set_pin_state( GPIO_EN_FMC1_P12V_PORT, GPIO_EN_FMC1_P12V_PIN, _on_fmc1);
gpio_set_pin_state( GPIO_EN_FMC1_P3V3_PORT, GPIO_EN_FMC1_P3V3_PIN, _on_fmc1);
gpio_set_pin_state( GPIO_EN_FMC2_PVADJ_PORT, GPIO_EN_FMC2_PVADJ_PIN, _on_fmc2);
gpio_set_pin_state( GPIO_EM_FMC2_P12V_PORT, GPIO_EM_FMC2_P12V_PIN, _on_fmc2);
gpio_set_pin_state( GPIO_EN_FMC2_P12V_PORT, GPIO_EN_FMC2_P12V_PIN, _on_fmc2);
gpio_set_pin_state( GPIO_EN_FMC2_P3V3_PORT, GPIO_EN_FMC2_P3V3_PIN, _on_fmc2);
......@@ -116,9 +116,9 @@ void initializeDCDC( void )
gpio_set_pin_dir( GPIO_EN_FMC2_P3V3_PORT, GPIO_EN_FMC2_P3V3_PIN, OUTPUT);
gpio_set_pin_dir( GPIO_EN_FMC2_PVADJ_PORT, GPIO_EN_FMC2_PVADJ_PIN, OUTPUT);
gpio_set_pin_dir( GPIO_EM_FMC2_P12V_PORT, GPIO_EM_FMC2_P12V_PIN, OUTPUT);
gpio_set_pin_dir( GPIO_EN_FMC2_P12V_PORT, GPIO_EN_FMC2_P12V_PIN, OUTPUT);
gpio_set_pin_dir( GPIO_EM_FMC1_P12V_PORT, GPIO_EM_FMC1_P12V_PIN, OUTPUT);
gpio_set_pin_dir( GPIO_EN_FMC1_P12V_PORT, GPIO_EN_FMC1_P12V_PIN, OUTPUT);
gpio_set_pin_dir( GPIO_EN_FMC1_P3V3_PORT, GPIO_EN_FMC1_P3V3_PIN, OUTPUT);
gpio_set_pin_dir( GPIO_EN_FMC1_PVADJ_PORT, GPIO_EN_FMC1_PVADJ_PIN, OUTPUT);
......@@ -196,7 +196,7 @@ void vTaskPayload(void *pvParmeters)
for ( ;; ) {
/* Initialize one of the FMC's DCDC so we can measure when the Payload Power is present */
gpio_set_pin_state( GPIO_EM_FMC1_P12V_PORT, GPIO_EM_FMC1_P12V_PIN, HIGH);
gpio_set_pin_state( GPIO_EN_FMC1_P12V_PORT, GPIO_EN_FMC1_P12V_PIN, HIGH);
new_state = state;
......
......@@ -77,15 +77,15 @@
#define GPIO_EN_P1V8_PORT 0
#define GPIO_EN_P1V8_PIN 24
#define GPIO_EM_FMC1_P12V_PORT 0
#define GPIO_EM_FMC1_P12V_PIN 4
#define GPIO_EN_FMC1_P12V_PORT 0
#define GPIO_EN_FMC1_P12V_PIN 4
#define GPIO_EN_FMC1_P3V3_PORT 0
#define GPIO_EN_FMC1_P3V3_PIN 25
#define GPIO_EN_FMC1_PVADJ_PORT 1
#define GPIO_EN_FMC1_PVADJ_PIN 31
#define GPIO_EM_FMC2_P12V_PORT 0
#define GPIO_EM_FMC2_P12V_PIN 5
#define GPIO_EN_FMC2_P12V_PORT 0
#define GPIO_EN_FMC2_P12V_PIN 5
#define GPIO_EN_FMC2_P3V3_PORT 0
#define GPIO_EN_FMC2_P3V3_PIN 26
#define GPIO_EN_FMC2_PVADJ_PORT 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment