示例#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;
}