mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2025-08-09 20:14:04 +00:00
add DISABLE_MOTOR function for motorized devices
This commit is contained in:
@@ -94,6 +94,11 @@ fi
|
||||
|
||||
/opt/wz_mini/etc/init.d/wz_user.sh &
|
||||
|
||||
if [[ "$DISABLE_MOTOR" == "true" ]]; then
|
||||
echo "Motor Disabled"
|
||||
touch /opt/wz_mini/tmp/.ms
|
||||
fi
|
||||
|
||||
##LIBRARY DEBUG
|
||||
#cp /opt/wz_mini/lib/uClibc.tar /tmp
|
||||
#tar -xf /tmp/uClibc.tar -C /tmp
|
||||
|
@@ -88,6 +88,7 @@ DISABLE_FW_UPGRADE="false"
|
||||
AUDIO_PROMPT_VOLUME="50"
|
||||
ENABLE_MP4_WRITE="false"
|
||||
NIGHT_DROP_DISABLE="false"
|
||||
DISABLE_MOTOR="false"
|
||||
|
||||
#####DEBUG#####
|
||||
#drops you to a shell via serial, doesn't load app_init.sh
|
||||
|
Binary file not shown.
@@ -88,6 +88,7 @@ DISABLE_FW_UPGRADE="false"
|
||||
AUDIO_PROMPT_VOLUME="50"
|
||||
ENABLE_MP4_WRITE="false"
|
||||
NIGHT_DROP_DISABLE="false"
|
||||
DISABLE_MOTOR="false"
|
||||
|
||||
#####DEBUG#####
|
||||
#drops you to a shell via serial, doesn't load app_init.sh
|
||||
|
Reference in New Issue
Block a user