auto-sync
This commit is contained in:
parent
b206337de9
commit
6b136f231f
|
@ -365,10 +365,13 @@ void setDefaultConfiguration(engine_configuration_s *engineConfiguration, board_
|
||||||
boardConfiguration->is_enabled_spi_1 = false;
|
boardConfiguration->is_enabled_spi_1 = false;
|
||||||
boardConfiguration->is_enabled_spi_2 = true;
|
boardConfiguration->is_enabled_spi_2 = true;
|
||||||
boardConfiguration->is_enabled_spi_3 = true;
|
boardConfiguration->is_enabled_spi_3 = true;
|
||||||
}
|
|
||||||
|
|
||||||
//void setDefaultNonPersistentConfiguration(engine_configuration2_s *engineConfiguration2) {
|
boardConfiguration->isSdCardEnabled = false;
|
||||||
//}
|
boardConfiguration->isFastAdcEnabled = true;
|
||||||
|
boardConfiguration->isEngineControlEnabled = true;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
void resetConfigurationExt(Logging * logger, engine_type_e engineType, engine_configuration_s *engineConfiguration,
|
void resetConfigurationExt(Logging * logger, engine_type_e engineType, engine_configuration_s *engineConfiguration,
|
||||||
engine_configuration2_s *engineConfiguration2, board_configuration_s *boardConfiguration) {
|
engine_configuration2_s *engineConfiguration2, board_configuration_s *boardConfiguration) {
|
||||||
|
|
|
@ -189,6 +189,8 @@ typedef struct {
|
||||||
unsigned int is_enabled_spi_2 : 1; // bit 1
|
unsigned int is_enabled_spi_2 : 1; // bit 1
|
||||||
unsigned int is_enabled_spi_3 : 1; // bit 2
|
unsigned int is_enabled_spi_3 : 1; // bit 2
|
||||||
unsigned int isSdCardEnabled : 1; // bit 3
|
unsigned int isSdCardEnabled : 1; // bit 3
|
||||||
|
unsigned int isFastAdcEnabled : 1; // bit 4
|
||||||
|
unsigned int isEngineControlEnabled : 1; // bit 5
|
||||||
|
|
||||||
brain_pin_e logicAnalyzerPins[LOGIC_ANALYZER_CHANNEL_COUNT];
|
brain_pin_e logicAnalyzerPins[LOGIC_ANALYZER_CHANNEL_COUNT];
|
||||||
uint8_t logicAnalyzerMode[LOGIC_ANALYZER_CHANNEL_COUNT];
|
uint8_t logicAnalyzerMode[LOGIC_ANALYZER_CHANNEL_COUNT];
|
||||||
|
|
|
@ -235,5 +235,5 @@ void firmwareError(const char *fmt, ...) {
|
||||||
}
|
}
|
||||||
|
|
||||||
int getRusEfiVersion(void) {
|
int getRusEfiVersion(void) {
|
||||||
return 20140908;
|
return 20140910;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue