Skip to content

Commit bca4caa

Browse files
committed
Bugfix for fuel pressure
wrong factor for fuel pressure used
1 parent 9b1154a commit bca4caa

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"type": "git",
1212
"url": "https://github.com/designer2k2/EMUcan"
1313
},
14-
"version": "1.0.3",
14+
"version": "1.0.4",
1515
"license": "GPL-3.0-only",
1616
"frameworks": "arduino",
1717
"platforms": "*",

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=EMUcan
2-
version=1.0.3
2+
version=1.0.4
33
author=Stephan M. <designer2k2@gmail.com>
44
maintainer=Stephan M. <designer2k2@gmail.com>
55
sentence=ECUMaster EMU CAN Stream Reader Arduino Library

src/EMUcan.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ bool EMUcan::decodeEmuFrame(struct can_frame *msg) {
118118
emu_data.oilTemperature = msg->data[3];
119119
//4 OILP BAR 0.0625
120120
emu_data.oilPressure = msg->data[4] * 0.0625;
121-
//5 FUELP BAR 0.03125
122-
emu_data.fuelPressure = msg->data[5] * 0.03125;
121+
//5 FUELP BAR 0.0625
122+
emu_data.fuelPressure = msg->data[5] * 0.0625;
123123
//6-7 CLT 16bit Signed 0.016129ms
124124
emu_data.CLT = ((msg->data[7] << 8) + msg->data[6]);
125125
}

src/EMUcan.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
#include <mcp2515.h>
2828

29-
#define EMUCAN_LIB_VERSION (F("1.0.3"))
29+
#define EMUCAN_LIB_VERSION (F("1.0.4"))
3030

3131
// Available data
3232
struct emu_data_t {

0 commit comments

Comments
 (0)