FrequencySensor::showInfo
This commit is contained in:
parent
57101db310
commit
eda1ec70da
|
@ -17,6 +17,8 @@ public:
|
||||||
// sad workaround: we are not good at BiQuad configuring
|
// sad workaround: we are not good at BiQuad configuring
|
||||||
bool useBiQuad = true;
|
bool useBiQuad = true;
|
||||||
|
|
||||||
|
void showInfo(const char* sensorName) const override;
|
||||||
|
|
||||||
void onEdge(efitick_t nowNt);
|
void onEdge(efitick_t nowNt);
|
||||||
|
|
||||||
int eventCounter = 0;
|
int eventCounter = 0;
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
#include "redundant_sensor.h"
|
#include "redundant_sensor.h"
|
||||||
#include "redundant_ford_tps.h"
|
#include "redundant_ford_tps.h"
|
||||||
#include "fallback_sensor.h"
|
#include "fallback_sensor.h"
|
||||||
|
#include "frequency_sensor.h"
|
||||||
#include "Lps25Sensor.h"
|
#include "Lps25Sensor.h"
|
||||||
#include "linear_func.h"
|
#include "linear_func.h"
|
||||||
#include "resistance_func.h"
|
#include "resistance_func.h"
|
||||||
|
@ -37,6 +38,10 @@ void RedundantSensor::showInfo(const char* sensorName) const {
|
||||||
efiPrintf("Sensor \"%s\" is redundant combining \"%s\" and \"%s\"", sensorName, getSensorName(m_first), getSensorName(m_second));
|
efiPrintf("Sensor \"%s\" is redundant combining \"%s\" and \"%s\"", sensorName, getSensorName(m_first), getSensorName(m_second));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void FrequencySensor::showInfo(const char* sensorName) const {
|
||||||
|
efiPrintf("FrequencySensor \"%s\" counter %d", sensorName, eventCounter);
|
||||||
|
}
|
||||||
|
|
||||||
void RedundantFordTps::showInfo(const char* sensorName) const {
|
void RedundantFordTps::showInfo(const char* sensorName) const {
|
||||||
efiPrintf("Sensor \"%s\" is Ford-type redundant TPS combining \"%s\" and \"%s\"", sensorName, getSensorName(m_first), getSensorName(m_second));
|
efiPrintf("Sensor \"%s\" is Ford-type redundant TPS combining \"%s\" and \"%s\"", sensorName, getSensorName(m_first), getSensorName(m_second));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue