dead serial config overrides

This commit is contained in:
Matthew Kennedy 2023-02-24 21:53:27 -08:00
parent c0815068a5
commit 8b15f2c2ec
4 changed files with 5 additions and 21 deletions

View File

@ -83,10 +83,6 @@ void setPinConfigurationOverrides(void) {
engineConfiguration->can2TxPin = Gpio::Unassigned;
}
void setSerialConfigurationOverrides(void) {
}
/**
* @brief Board-specific configuration defaults.
*

View File

@ -83,10 +83,6 @@ void setPinConfigurationOverrides(void) {
engineConfiguration->can2TxPin = Gpio::Unassigned;
}
void setSerialConfigurationOverrides(void) {
}
/**
* @brief Board-specific configuration defaults.
*

View File

@ -83,10 +83,6 @@ void setPinConfigurationOverrides(void) {
engineConfiguration->can2TxPin = Gpio::Unassigned;
}
void setSerialConfigurationOverrides(void) {
}
/**
* @brief Board-specific configuration defaults.
*

View File

@ -11,7 +11,11 @@
#include "smart_gpio.h"
#include "drivers/gpio/mc33810.h"
static void setSerialConfigurationOverrides() {
/**
* @brief Board-specific configuration defaults.
* @todo Add your board-specific code, if any.
*/
void setBoardDefaultConfiguration() {
engineConfiguration->binarySerialTxPin = Gpio::E1;
engineConfiguration->binarySerialRxPin = Gpio::E0;
/* actually Bluetooth/WiFi interface */
@ -19,14 +23,6 @@ static void setSerialConfigurationOverrides() {
//engineConfiguration->consoleSerialRxPin = Gpio::C11;
engineConfiguration->tunerStudioSerialSpeed = SERIAL_SPEED;
engineConfiguration->uartConsoleSerialSpeed = SERIAL_SPEED;
}
/**
* @brief Board-specific configuration defaults.
* @todo Add your board-specific code, if any.
*/
void setBoardDefaultConfiguration() {
setSerialConfigurationOverrides();
/* Battery voltage */
engineConfiguration->vbattAdcChannel = EFI_ADC_6;