File tree Expand file tree Collapse file tree 2 files changed +4
-21
lines changed Expand file tree Collapse file tree 2 files changed +4
-21
lines changed Original file line number Diff line number Diff line change @@ -132,23 +132,6 @@ void *TCPLoop(void *arg)
132132 data->flags ->emergencyBrake = 1 ;
133133 }
134134
135- if (!strncmp (buffer, " primBrakeOff" , MAX_COMMAND_SIZE))
136- {
137- brakePrimaryUnactuate ();
138- }
139- if (!strncmp (buffer, " primBrakeOn" , MAX_COMMAND_SIZE))
140- {
141- brakePrimaryActuate ();
142- }
143- if (!strncmp (buffer, " secBrakeOff" , MAX_COMMAND_SIZE))
144- {
145- brakeSecondaryUnactuate ();
146- }
147- if (!strncmp (buffer, " secBrakeOn" , MAX_COMMAND_SIZE))
148- {
149- brakeSecondaryActuate ();
150- }
151-
152135 if (!strncmp (buffer, " hvEnable" , MAX_COMMAND_SIZE))
153136 {
154137 /* Lets add a safety check here */
Original file line number Diff line number Diff line change @@ -96,19 +96,19 @@ void *LVTCPLoop(void *arg){
9696
9797 if (!strncmp (buffer, " primBrakeOff" , MAX_COMMAND_SIZE))
9898 {
99- brakePrimaryRelease ();
99+ brakePrimaryUnactuate ();
100100 }
101101 if (!strncmp (buffer, " primBrakeOn" , MAX_COMMAND_SIZE))
102102 {
103- brakePrimary ();
103+ brakePrimaryActuate ();
104104 }
105105 if (!strncmp (buffer, " secBrakeOff" , MAX_COMMAND_SIZE))
106106 {
107- brakeSecondaryRelease ();
107+ brakeSecondaryUnactuate ();
108108 }
109109 if (!strncmp (buffer, " secBrakeOn" , MAX_COMMAND_SIZE))
110110 {
111- brakeSecondary ();
111+ brakeSecondaryActuate ();
112112 }
113113
114114 // HEARTBEAT
You can’t perform that action at this time.
0 commit comments