Skip to content

Commit

Permalink
Update run.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jmtatsch authored Nov 24, 2018
1 parent ef45cc6 commit e0938b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions firmware_mod/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e0938b8

Please sign in to comment.