auto-sync
This commit is contained in:
parent
6a907c84e0
commit
00744e159b
|
@ -3,12 +3,15 @@
|
||||||
*
|
*
|
||||||
* MITSU_4G93 16
|
* MITSU_4G93 16
|
||||||
*
|
*
|
||||||
|
* set_engine_type 16
|
||||||
|
*
|
||||||
* @date Aug 5, 2014
|
* @date Aug 5, 2014
|
||||||
* @author Andrey Belomutskiy, (c) 2012-2014
|
* @author Andrey Belomutskiy, (c) 2012-2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "mitsubishi.h"
|
#include "mitsubishi.h"
|
||||||
#include "allsensors.h"
|
#include "allsensors.h"
|
||||||
|
#include "le_functions.h"
|
||||||
|
|
||||||
void setMitsubishiConfiguration(engine_configuration_s *engineConfiguration, board_configuration_s *boardConfiguration) {
|
void setMitsubishiConfiguration(engine_configuration_s *engineConfiguration, board_configuration_s *boardConfiguration) {
|
||||||
engineConfiguration->engineType = MITSU_4G93;
|
engineConfiguration->engineType = MITSU_4G93;
|
||||||
|
@ -81,6 +84,7 @@ void setMitsubishiConfiguration(engine_configuration_s *engineConfiguration, boa
|
||||||
engineConfiguration->HD44780height = 4;
|
engineConfiguration->HD44780height = 4;
|
||||||
|
|
||||||
initEgoSensor(&engineConfiguration->afrSensor, ES_Innovate_MTX_L);
|
initEgoSensor(&engineConfiguration->afrSensor, ES_Innovate_MTX_L);
|
||||||
|
setFsio(engineConfiguration, 0, GPIOD_11, "rpm 5500 >");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -327,6 +327,7 @@ static void printAnalogInfo(void) {
|
||||||
static THD_WORKING_AREA(csThreadStack, UTILITY_THREAD_STACK_SIZE); // declare thread stack
|
static THD_WORKING_AREA(csThreadStack, UTILITY_THREAD_STACK_SIZE); // declare thread stack
|
||||||
|
|
||||||
static void showFsio(const char *msg, LEElement *element) {
|
static void showFsio(const char *msg, LEElement *element) {
|
||||||
|
if(msg!=NULL)
|
||||||
scheduleMsg(&logger, "%s:", msg);
|
scheduleMsg(&logger, "%s:", msg);
|
||||||
while (element != NULL) {
|
while (element != NULL) {
|
||||||
scheduleMsg(&logger, "action %d: fValue=%f iValue=%d", element->action, element->fValue, element->iValue);
|
scheduleMsg(&logger, "action %d: fValue=%f iValue=%d", element->action, element->fValue, element->iValue);
|
||||||
|
@ -346,7 +347,8 @@ static void showFsioInfo(void) {
|
||||||
scheduleMsg(&logger, "FSIO #%d [%s] at %s@%dHz = %f", (i + 1), exp, hwPortname(boardConfiguration->fsioPins[i]),
|
scheduleMsg(&logger, "FSIO #%d [%s] at %s@%dHz = %f", (i + 1), exp, hwPortname(boardConfiguration->fsioPins[i]),
|
||||||
boardConfiguration->fsioFrequency[i],
|
boardConfiguration->fsioFrequency[i],
|
||||||
engineConfiguration2->fsioLastValue[i]);
|
engineConfiguration2->fsioLastValue[i]);
|
||||||
showFsio("user-defined", fsioLogics[i]);
|
scheduleMsg(&logger, "user-defined #%d value=%f", (i + 1), engine->engineConfiguration2->fsioLastValue[i]);
|
||||||
|
showFsio(NULL, fsioLogics[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -265,5 +265,5 @@ int getRusEfiVersion(void) {
|
||||||
return 1; // this is here to make the compiler happy about the unused array
|
return 1; // this is here to make the compiler happy about the unused array
|
||||||
if (UNUSED_CCM_SIZE == 0)
|
if (UNUSED_CCM_SIZE == 0)
|
||||||
return 1; // this is here to make the compiler happy about the unused array
|
return 1; // this is here to make the compiler happy about the unused array
|
||||||
return 20141206;
|
return 20141207;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue