mirror of https://github.com/rusefi/rusefi.git
auto-sync
This commit is contained in:
parent
83c05d0f19
commit
c4f2e79505
|
@ -9,6 +9,7 @@
|
|||
#include "le_functions.h"
|
||||
#include "allsensors.h"
|
||||
#include "rpm_calculator.h"
|
||||
#include "efiGpio.h"
|
||||
|
||||
extern LENameOrdinalPair * LE_FIRST;
|
||||
|
||||
|
@ -30,8 +31,8 @@ static LENameOrdinalPair leTimeSinceBoot(LE_METHOD_TIME_SINCE_BOOT, "time_since_
|
|||
float getLEValue(Engine *engine, le_action_e action) {
|
||||
efiAssert(engine!=NULL, "getLEValue", NAN);
|
||||
switch (action) {
|
||||
// case LE_METHOD_FAN:
|
||||
// return ;
|
||||
case LE_METHOD_FAN:
|
||||
return getOutputPinValue(FAN_RELAY);
|
||||
case LE_METHOD_COOLANT:
|
||||
return getCoolantTemperature(engine);
|
||||
case LE_METHOD_INTAKE_AIR:
|
||||
|
|
|
@ -88,7 +88,7 @@ char *getWarninig(void) {
|
|||
}
|
||||
|
||||
uint64_t lastLockTime;
|
||||
uint64_t maxLockTime = 0;
|
||||
uint32_t maxLockTime = 0;
|
||||
|
||||
void onLockHook(void) {
|
||||
lastLockTime = getTimeNowNt();
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#include "trigger_decoder.h"
|
||||
#include "console_io.h"
|
||||
#include "engine.h"
|
||||
#include "efiGpio.h"
|
||||
|
||||
#if EFI_PROD_CODE
|
||||
#include "rusefi.h"
|
||||
|
@ -332,6 +333,9 @@ static void printTemperatureInfo(void) {
|
|||
scheduleMsg(&logger, "IAT sensing error");
|
||||
}
|
||||
|
||||
scheduleMsg(&logger, "fan=%s @ %s", boolToString(getOutputPinValue(FAN_RELAY)),
|
||||
hwPortname(boardConfiguration->fanPin));
|
||||
|
||||
#if EFI_ANALOG_INPUTS
|
||||
scheduleMsg(&logger, "base cranking fuel %f", engineConfiguration->crankingSettings.baseCrankingFuel);
|
||||
#endif
|
||||
|
|
|
@ -199,6 +199,7 @@ static void triggerShapeInfo(Engine *engine) {
|
|||
|
||||
#if EFI_PROD_CODE
|
||||
extern PwmConfig triggerSignal;
|
||||
extern uint32_t maxLockTime;
|
||||
#endif /* #if EFI_PROD_CODE */
|
||||
|
||||
static void triggerInfo(Engine *engine) {
|
||||
|
@ -228,10 +229,10 @@ static void triggerInfo(Engine *engine) {
|
|||
triggerCentral.triggerState.orderingErrorCounter,
|
||||
triggerCentral.triggerState.getTotalRevolutionCounter(),
|
||||
boolToString(engineConfiguration->directSelfStimulation));
|
||||
|
||||
#endif
|
||||
|
||||
#if EFI_PROD_CODE
|
||||
scheduleMsg(&logger, "maxLockTime=%d", maxLockTime);
|
||||
scheduleMsg(&logger, "primary trigger simulator: %s %s freq=%d",
|
||||
hwPortname(boardConfiguration->triggerSimulatorPins[0]),
|
||||
pinModeToString(boardConfiguration->triggerSimulatorPinModes[0]),
|
||||
|
|
Loading…
Reference in New Issue