mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-27 16:02:04 +08:00
b950cab874
* start hw refactor
* move that
* pins
* put that back
old-commit-hash: 8674b023ba
9 lines
218 B
Python
9 lines
218 B
Python
import os
|
|
BASEDIR = os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(__file__)), "../"))
|
|
|
|
from selfdrive.hardware import PC
|
|
if PC:
|
|
PERSIST = os.path.join(BASEDIR, "persist")
|
|
else:
|
|
PERSIST = "/persist"
|