21 lines
466 B
C
21 lines
466 B
C
/**
|
|
* @file vehicle_speed.h
|
|
*
|
|
*@date Dec 26, 2014
|
|
* @author Andrey Belomutskiy, (c) 2012-2020
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "global.h"
|
|
|
|
/**
|
|
* @return vehicle speed, in kilometers per hour
|
|
*/
|
|
float getVehicleSpeed(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
|
void initVehicleSpeed();
|
|
void setMockVehicleSpeed(float speedKPH DECLARE_ENGINE_PARAMETER_SUFFIX);
|
|
bool hasVehicleSpeedSensor(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
|
void stopVSSPins(void);
|
|
void startVSSPins(void);
|