Try that instead
This commit is contained in:
parent
c27bb0e909
commit
d2ef10ead7
1 changed files with 4 additions and 4 deletions
|
@ -82,14 +82,14 @@ int hexagram_cluster_update(hexagram_cluster *cluster,
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
case 0x320: {
|
case 0x288: {
|
||||||
cluster->state.fuel = (double)(frame->data[2] & 0xf) / 16.0;
|
cluster->state.temp = 0.75 * (double)(frame->data[4] - 48);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
case 0x420: {
|
case 0x320: {
|
||||||
cluster->state.temp = 0.75 * (double)(frame->data[4] - 64);
|
cluster->state.fuel = (double)(frame->data[2] & 0xf) / 16.0;
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue