Merge branch 'master' of https://github.com/rusefi/rusefi
This commit is contained in:
commit
65a70e9127
|
@ -156,10 +156,13 @@ void canDashboardVAG(void) {
|
||||||
|
|
||||||
void canDashboardW202(void) {
|
void canDashboardW202(void) {
|
||||||
|
|
||||||
|
uint16_t tmp;
|
||||||
{
|
{
|
||||||
CanTxMessage msg(W202_STAT_1);
|
CanTxMessage msg(W202_STAT_1);
|
||||||
|
tmp = GET_RPM();
|
||||||
msg[0] = 0x08; // Unknown
|
msg[0] = 0x08; // Unknown
|
||||||
msg.setShortValue(GET_RPM(), 1); //RPM
|
msg[1] = (tmp >> 8); //RPM
|
||||||
|
msg[2] = (tmp & 0xff); //RPM
|
||||||
msg[3] = 0x00; // 0x01 - tank blink, 0x02 - EPC
|
msg[3] = 0x00; // 0x01 - tank blink, 0x02 - EPC
|
||||||
msg[4] = 0x00; // Unknown
|
msg[4] = 0x00; // Unknown
|
||||||
msg[5] = 0x00; // Unknown
|
msg[5] = 0x00; // Unknown
|
||||||
|
@ -169,7 +172,7 @@ void canDashboardW202(void) {
|
||||||
|
|
||||||
{
|
{
|
||||||
CanTxMessage msg(W202_STAT_2); //dlc 7
|
CanTxMessage msg(W202_STAT_2); //dlc 7
|
||||||
msg[0] = (int)(Sensor::get(SensorType::Clt).value_or(0) + 40); // CLT - 0x80 ~ 80C
|
msg[0] = (int)(Sensor::get(SensorType::Clt).value_or(0) + 40); // CLT -40 offset
|
||||||
msg[1] = 0x3D; // TBD
|
msg[1] = 0x3D; // TBD
|
||||||
msg[2] = 0x63; // Const
|
msg[2] = 0x63; // Const
|
||||||
msg[3] = 0x41; // Const
|
msg[3] = 0x41; // Const
|
||||||
|
|
|
@ -472,7 +472,7 @@ float fsio_visible fanOffTemperature;+Cooling fan turn-off temperature threshold
|
||||||
|
|
||||||
float vehicleSpeedCoef;+This coefficient translates vehicle speed input frequency (in Hz) into vehicle speed, km/h;"coef", 1, 0, 0.01, 2000.0, 2
|
float vehicleSpeedCoef;+This coefficient translates vehicle speed input frequency (in Hz) into vehicle speed, km/h;"coef", 1, 0, 0.01, 2000.0, 2
|
||||||
|
|
||||||
custom can_nbc_e 4 bits, U32, @OFFSET@, [0:7], "None", "FIAT", "VAG" , "MAZDA RX8", "BMW"
|
custom can_nbc_e 4 bits, U32, @OFFSET@, [0:7], "None", "FIAT", "VAG" , "MAZDA RX8", "BMW", "W202"
|
||||||
can_nbc_e canNbcType;set can_mode X
|
can_nbc_e canNbcType;set can_mode X
|
||||||
|
|
||||||
int canSleepPeriodMs;CANbus thread period, ms;"ms", 1, 0, 0, 1000.0, 2
|
int canSleepPeriodMs;CANbus thread period, ms;"ms", 1, 0, 0, 1000.0, 2
|
||||||
|
|
Loading…
Reference in New Issue