Skip to content

Commit

Permalink
remove toyota ipas safety code and tests (commaai#460)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbiasini authored Mar 4, 2020
1 parent a379faf commit b2dbb50
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 421 deletions.
3 changes: 0 additions & 3 deletions board/safety.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include "safety/safety_defaults.h"
#include "safety/safety_honda.h"
#include "safety/safety_toyota.h"
#include "safety/safety_toyota_ipas.h"
#include "safety/safety_tesla.h"
#include "safety/safety_gm_ascm.h"
#include "safety/safety_gm.h"
Expand Down Expand Up @@ -34,7 +33,6 @@
#define SAFETY_MAZDA 13U
#define SAFETY_NISSAN 14U
#define SAFETY_VOLKSWAGEN_MQB 15U
#define SAFETY_TOYOTA_IPAS 16U
#define SAFETY_ALLOUTPUT 17U
#define SAFETY_GM_ASCM 18U
#define SAFETY_NOOUTPUT 19U
Expand Down Expand Up @@ -208,7 +206,6 @@ const safety_hook_config safety_hook_registry[] = {
{SAFETY_NOOUTPUT, &nooutput_hooks},
#ifdef ALLOW_DEBUG
{SAFETY_CADILLAC, &cadillac_hooks},
{SAFETY_TOYOTA_IPAS, &toyota_ipas_hooks},
{SAFETY_TESLA, &tesla_hooks},
{SAFETY_NISSAN, &nissan_hooks},
{SAFETY_ALLOUTPUT, &alloutput_hooks},
Expand Down
169 changes: 0 additions & 169 deletions board/safety/safety_toyota_ipas.h

This file was deleted.

1 change: 0 additions & 1 deletion python/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ class Panda(object):
SAFETY_MAZDA = 13
SAFETY_NISSAN = 14
SAFETY_VOLKSWAGEN_MQB = 15
SAFETY_TOYOTA_IPAS = 16
SAFETY_ALLOUTPUT = 17
SAFETY_GM_ASCM = 18
SAFETY_NOOUTPUT = 19
Expand Down
1 change: 0 additions & 1 deletion tests/safety/libpandasafety_py.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
int get_gas_interceptor_prev(void);
int get_hw_type(void);
void set_timer(uint32_t t);
void reset_angle_control(void);
int safety_rx_hook(CAN_FIFOMailBox_TypeDef *to_send);
int safety_tx_hook(CAN_FIFOMailBox_TypeDef *to_push);
Expand Down
4 changes: 0 additions & 4 deletions tests/safety/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,6 @@ void set_gas_interceptor_detected(bool c){
gas_interceptor_detected = c;
}

void reset_angle_control(void){
angle_control = 0;
}

bool get_controls_allowed(void){
return controls_allowed;
}
Expand Down
Loading

0 comments on commit b2dbb50

Please sign in to comment.