예제 #1
0
파일: tps.cpp 프로젝트: rus084/rusefi
/**
 * @brief Position on physical primary TPS
 */
static float getPrimatyRawTPS(void) {
    // blue, 1st board
    /* PA7 - blue TP */
    float tpsValue = getTpsValue(getTPS10bitAdc());
    return tpsValue;
}
예제 #2
0
파일: tps.cpp 프로젝트: rusefi/rusefi
/**
 * @brief Position on physical primary TPS
 */
static percent_t getPrimatyRawTPS(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
	percent_t tpsValue = getTpsValue(getTPS12bitAdc(PASS_ENGINE_PARAMETER_SIGNATURE) PASS_ENGINE_PARAMETER_SUFFIX);
	return tpsValue;
}