Added missing trainer detect pin initialization (Horus)
This commit is contained in:
@@ -60,6 +60,10 @@ void pwrInit()
|
|||||||
GPIO_InitStructure.GPIO_Pin = SD_PRESENT_GPIO_PIN;
|
GPIO_InitStructure.GPIO_Pin = SD_PRESENT_GPIO_PIN;
|
||||||
GPIO_Init(SD_PRESENT_GPIO, &GPIO_InitStructure);
|
GPIO_Init(SD_PRESENT_GPIO, &GPIO_InitStructure);
|
||||||
|
|
||||||
|
// Init TRAINER DETECT PIN
|
||||||
|
GPIO_InitStructure.GPIO_Pin = TRAINER_DETECT_GPIO_PIN;
|
||||||
|
GPIO_Init(TRAINER_DETECT_GPIO, &GPIO_InitStructure);
|
||||||
|
|
||||||
pwrOn();
|
pwrOn();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user