do we need to copy at all?

pull/23850/head
sshane 4 years ago
parent a1aae9eb9e
commit 41236e5fb7
  1. 3
      selfdrive/controls/controlsd.py

@ -1,4 +1,5 @@
#!/usr/bin/env python3
import copy
import os
import math
from numbers import Number
@ -735,7 +736,7 @@ class Controls:
self.prof.checkpoint("Sent")
self.update_button_timers(CS.buttonEvents)
self.CS_prev = CS.copy()
self.CS_prev = copy.copy(CS)
def controlsd_thread(self):
while True:

Loading…
Cancel
Save