Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Dp08 clean #96

Merged
merged 7 commits into from
Jan 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions selfdrive/car/car_helpers.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import os
import threading
import requests
from common.params import Params, put_nonblocking
from common.basedir import BASEDIR
from selfdrive.version import comma_remote, tested_branch
Expand Down Expand Up @@ -183,15 +184,15 @@ def is_connected_to_internet(timeout=5):
try:
requests.get("https://sentry.io", timeout=timeout)
return True
except:
except Exception:
return False

def crash_log(candidate):
while True:
if is_connected_to_internet():
crash.capture_warning("fingerprinted %s" % candidate)
break

def crash_log2(fingerprints, fw):
while True:
if is_connected_to_internet():
Expand Down
2 changes: 1 addition & 1 deletion selfdrive/car/hyundai/values.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ class Buttons:
}

# Don't use these fingerprints for fingerprinting, they are still used for ECU detection
IGNORED_FINGERPRINTS = [CAR.VELOSTER, CAR.GENESIS_G70, CAR.KONA]
IGNORED_FINGERPRINTS = [CAR.VELOSTER, CAR.KONA]

FW_VERSIONS = {
CAR.SONATA: {
Expand Down