Ejemplo n.º 1
0
/**
 * @brief Position on physical primary TPS
 */
static float getPrimatyRawTPS(void) {
    // blue, 1st board
    /* PA7 - blue TP */
    float tpsValue = getTpsValue(getTPS10bitAdc());
    return tpsValue;
}
Ejemplo n.º 2
0
/**
 * @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;
}