USB and TLE8888 not working for F4 or F767 #764
This commit is contained in:
parent
54b2f311fe
commit
251710ecd8
|
@ -181,12 +181,12 @@ static void lcdInfo(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
|||
}
|
||||
|
||||
void stopHD44780_pins() {
|
||||
unregisterPin(engineConfiguration->bc.HD44780_rs, activeConfiguration.bc.HD44780_rs);
|
||||
unregisterPin(engineConfiguration->bc.HD44780_e, activeConfiguration.bc.HD44780_e);
|
||||
unregisterPin(engineConfiguration->bc.HD44780_db4, activeConfiguration.bc.HD44780_db4);
|
||||
unregisterPin(engineConfiguration->bc.HD44780_db5, activeConfiguration.bc.HD44780_db5);
|
||||
unregisterPin(engineConfiguration->bc.HD44780_db6, activeConfiguration.bc.HD44780_db6);
|
||||
unregisterPin(engineConfiguration->bc.HD44780_db7, activeConfiguration.bc.HD44780_db7);
|
||||
brain_pin_markUnused(activeConfiguration.bc.HD44780_rs);
|
||||
brain_pin_markUnused(activeConfiguration.bc.HD44780_e);
|
||||
brain_pin_markUnused(activeConfiguration.bc.HD44780_db4);
|
||||
brain_pin_markUnused(activeConfiguration.bc.HD44780_db5);
|
||||
brain_pin_markUnused(activeConfiguration.bc.HD44780_db6);
|
||||
brain_pin_markUnused(activeConfiguration.bc.HD44780_db7);
|
||||
}
|
||||
|
||||
void lcd_HD44780_init(Logging *sharedLogger) {
|
||||
|
|
|
@ -99,9 +99,9 @@ static bool isJoystickEnabled() {
|
|||
}
|
||||
|
||||
void stopJoystickPins() {
|
||||
brain_pin_markUnused(CONFIGB(joystickCenterPin));
|
||||
brain_pin_markUnused(CONFIGB(joystickAPin));
|
||||
brain_pin_markUnused(CONFIGB(joystickDPin));
|
||||
brain_pin_markUnused(activeConfiguration.bc.joystickCenterPin);
|
||||
brain_pin_markUnused(activeConfiguration.bc.joystickAPin);
|
||||
brain_pin_markUnused(activeConfiguration.bc.joystickDPin);
|
||||
}
|
||||
|
||||
void startJoystickPins() {
|
||||
|
|
Loading…
Reference in New Issue