[no ci] Update wifibroadcast-ng

pull/1733/head
viktorxda 2025-02-27 19:13:13 +01:00
parent 7377ea7c76
commit 5665317e8b
3 changed files with 7 additions and 8 deletions

View File

@ -84,14 +84,14 @@ start_telemetry() {
echo_log "Starting $router"
if [ "$router" = "mavfwd" ]; then
mavfwd -b 115200 -c 8 -p 100 -a 15 -t \
-m /dev/"$serial" -i 0.0.0.0:14550 -o 10.5.0.1:14551 > /dev/null &
mavfwd -b 115200 -c 8 -p 100 -a 15 -t -m /dev/"$serial" \
-i 0.0.0.0:14550 -o 10.5.0.1:14551 > /dev/null &
else
if [ "$router" = "msposd" ]; then
size=$(curl -s localhost/api/v1/config.json | jsonfilter -e "@.video0.size")
fi
msposd -b 115200 -c 8 -z "$size" -r "$osd_fps" \
-m /dev/"$serial" -o 10.5.0.1:14551 > /dev/null &
msposd -b 115200 -c 8 -r "$osd_fps" -m /dev/"$serial" \
-o 10.5.0.1:14551 -z "$size" > /dev/null &
fi
}
@ -99,7 +99,7 @@ video_settings() {
sensor=$(ipcinfo -s)
cli -s .isp.sensorConfig /etc/sensors/"$sensor"_fpv.bin
cli -s .isp.exposure 5
cli -s .video0.fps 90
cli -s .video0.fps 60
cli -s .video0.bitrate 8192
cli -s .video0.codec h265
cli -s .video0.rcMode cbr

View File

@ -83,8 +83,7 @@ function populateSelect(id, start, end, step) {
populateSelect('bitrate', 1024, 20480, 1024);
populateSelect('txpower', 1, 58, 1);
populateSelect('wfb_index', 0, 8, 1);
populateSelect('tun_index', 0, 8, 1);
populateSelect('mcs_index', 0, 8, 1);
loadYAML('/etc/majestic.yaml', (data) => {
configData.majestic = data;

View File

@ -87,7 +87,7 @@ h3 {
#preview {
width: 100%;
max-width: 75%;
max-width: 70%;
margin-top: 25px;
background-color: #000;
border-radius: 4px;