Fix upper end of fuel reading
This commit is contained in:
parent
e513fc1083
commit
130b29605c
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ int hexagram_cluster_update(hexagram_cluster *cluster,
|
||||||
}
|
}
|
||||||
|
|
||||||
case 0x320: {
|
case 0x320: {
|
||||||
cluster->state.fuel = (double)(frame->data[2] & 0xf) / 16.0;
|
cluster->state.fuel = (double)(frame->data[2] & 0xf) / 15.0;
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue