mirror of https://github.com/OpenIPC/firmware.git
Update wifibroadcast (#1842)
parent
3406022e5b
commit
30517e5852
|
@ -129,6 +129,7 @@ start_telemetry() {
|
|||
fi
|
||||
msposd -b 115200 -c 8 -r "$osd_fps" -m /dev/"$serial" \
|
||||
-o 127.0.0.1:"$port_tx" -z "$size" > /dev/null &
|
||||
|
||||
sleep 5
|
||||
echo "&L70&F28&G8CPU:&C TEMP:&T\n&B" >/tmp/MSPOSD.msg
|
||||
fi
|
||||
|
@ -162,6 +163,7 @@ for card in $(lsusb | awk '{print $6}' | uniq); do
|
|||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
sensor=$(ipcinfo -s)
|
||||
cli -s .isp.sensorConfig /etc/sensors/"$sensor"_fpv.bin
|
||||
cli -s .isp.exposure 16
|
||||
|
@ -175,9 +177,11 @@ cli -s .records.split 1
|
|||
cli -s .records.notime true
|
||||
cli -s .fpv.enabled true
|
||||
cli -s .fpv.noiseLevel 0
|
||||
|
||||
wifibroadcast cli -s .wireless.mlink 3994
|
||||
wifibroadcast cli -s .wireless.link_control alink
|
||||
sed -i '/alink_drone &/d' /etc/rc.local && sed -i -e '$i alink_drone &' /etc/rc.local
|
||||
|
||||
if [ "$sensor" = "imx335" ]; then
|
||||
cli -s .video0.size 1920x1440
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue