diff --git a/py/hexagram/app.pyx b/py/hexagram/app.pyx index 9b60c63..bc9c3c6 100755 --- a/py/hexagram/app.pyx +++ b/py/hexagram/app.pyx @@ -41,7 +41,10 @@ cdef cluster_update(cluster: Cluster, hexagram_window *window, can_frame *frame): if frame.can_id == 0x280: - cluster.tacho.value = 0.25 * float(frame.data[2] | (frame.data[3] << 8)) + rpm = 0.25 * float(frame.data[2] | (frame.data[3] << 8)) + + cluster.tacho.value = rpm + cluster.shift_indicator.value = rpm elif frame.can_id == 0x288: cluster.thermo.value = 0.75 * float(frame.data[1] - 48) elif frame.can_id == 0x320: