diff --git a/tests/safety/libpandasafety_py.py b/tests/safety/libpandasafety_py.py index e3f0e6925de404..84f3b00d0532a3 100644 --- a/tests/safety/libpandasafety_py.py +++ b/tests/safety/libpandasafety_py.py @@ -32,6 +32,8 @@ void set_controls_allowed(int c); int get_controls_allowed(void); +void set_long_controls_allowed(int c); +int get_long_controls_allowed(void); void set_gas_interceptor_detected(int c); int get_gas_interceptor_detetcted(void); int get_gas_interceptor_prev(void); diff --git a/tests/safety/test.c b/tests/safety/test.c index 81f833d46a71b7..ce75df82a54014 100644 --- a/tests/safety/test.c +++ b/tests/safety/test.c @@ -51,6 +51,10 @@ void set_controls_allowed(int c){ controls_allowed = c; } +void set_long_controls_allowed(int c){ + long_controls_allowed = c; +} + void set_gas_interceptor_detected(int c){ gas_interceptor_detected = c; } @@ -63,6 +67,10 @@ int get_controls_allowed(void){ return controls_allowed; } +int get_long_controls_allowed(void){ + return long_controls_allowed; +} + int get_gas_interceptor_detected(void){ return gas_interceptor_detected; }