mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2025-08-09 20:14:04 +00:00
add car supports for unsupported devices
added support for tto usecar accessory with devices normally unsupported. You may control it via the command line. Unsupported devices will not work using the car app.
This commit is contained in:
@@ -139,7 +139,7 @@ if [[ "$DISABLE_MOTOR" == "true" ]]; then
|
||||
fi
|
||||
|
||||
#Enable serial driver for car
|
||||
if [ -f /opt/wz_mini/tmp/.CAR ]; then
|
||||
if [ -f /opt/wz_mini/tmp/.CAR ] || [[ "$ENABLE_CAR_DRIVER" == "true"]]; then
|
||||
modprobe cp210x
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user