Update safety.h

This commit is contained in:
firestar5683
2025-10-03 00:13:20 -05:00
parent dd9383c5e3
commit 3b187f154f
+1 -1
View File
@@ -88,7 +88,7 @@ int safety_fwd_hook(int bus_num, int addr) {
}
bool get_longitudinal_allowed(void) {
return controls_allowed && !gas_pressed;
return controls_allowed && !gas_pressed_prev;
}
// Given a CRC-8 poly, generate a static lookup table to use with a fast CRC-8