1
0
mirror of https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git synced 2025-09-02 12:43:02 +02:00

Update run.sh

fix #813
This commit is contained in:
jmtatsch
2018-11-24 19:46:39 +01:00
committed by GitHub
parent ef45cc6adf
commit e0938b82f4

View File

@@ -170,6 +170,10 @@ insmod /driver/tx-isp.ko isp_clk=100000000
if [ $sensor = 'jxf22' ]; then
insmod /driver/sensor_jxf22.ko data_interface=2 pwdn_gpio=-1 reset_gpio=18 sensor_gpio_func=0
else
if [ ! -f /etc/sensor/jxf23.bin ]; then
cp /etc/sensor/jxf22.bin /etc/sensor/jxf23.bin
cp /etc/sensor/jxf22move.txt /etc/sensor/jxf23move.txt
fi
insmod /system/sdcard/driver/sensor_jxf23.ko data_interface=2 pwdn_gpio=-1 reset_gpio=18 sensor_gpio_func=0
fi