Skip to content

Commit

Permalink
Fix for presets
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioFPVdev authored and MarioFPVdev committed Feb 27, 2025
1 parent 202edf9 commit 3a9631d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions presets/1080p60_15Mbps_40MHz_AF1_12_15_UART0_MSPOSD.bat
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ if "%1" == "preset" (
plink -ssh root@%2 -pw %3 sed -i '/serial=/c\serial=/dev/ttyS0' /etc/telemetry.conf
plink -ssh root@%2 -pw %3 sed -i '/router=/c\router=2' /etc/telemetry.conf
plink -ssh root@%2 -pw %3 sed -i 's/console::respawn:\/sbin\/getty -L console 0 vt100/#console::respawn:\/sbin\/getty -L console 0 vt100/' /etc/inittab
plink -ssh root@%2 -pw %3 dos2unix /etc/vtxmenu.ini
plink -ssh root@%2 -pw %3 dos2unix /usr/bin/wifibroadcast
plink -ssh root@%2 -pw %3 cli -s .isp.sensorConfig /etc/sensors/imx415_milos15.bin
plink -ssh root@%2 -pw %3 cli -s .fpv.enabled true
plink -ssh root@%2 -pw %3 cli -s .fpv.noiseLevel 0
plink -ssh root@%2 -pw %3 cli -s .video0.codec h265
echo y | pscp -scp -pw %3 sensors/imx415_milos15.bin root@%2:/etc/sensors/
echo y | pscp -scp -pw %3 vtxmenu.ini root@%2:/etc/
echo y | pscp -scp -pw %3 reset/wifibroadcast root@%2:/usr/bin/
plink -ssh root@%2 -pw %3 dos2unix /etc/vtxmenu.ini
plink -ssh root@%2 -pw %3 dos2unix /usr/bin/wifibroadcast
plink -ssh root@%2 -pw %3 reboot
)

Expand Down
4 changes: 2 additions & 2 deletions presets/720p120_15Mbps_40MHz_AF1_8_12_UART0_MSPOSD.bat
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ if "%1" == "preset" (
plink -ssh root@%2 -pw %3 sed -i '/serial=/c\serial=/dev/ttyS0' /etc/telemetry.conf
plink -ssh root@%2 -pw %3 sed -i '/router=/c\router=2' /etc/telemetry.conf
plink -ssh root@%2 -pw %3 sed -i 's/console::respawn:\/sbin\/getty -L console 0 vt100/#console::respawn:\/sbin\/getty -L console 0 vt100/' /etc/inittab
plink -ssh root@%2 -pw %3 dos2unix /etc/vtxmenu.ini
plink -ssh root@%2 -pw %3 dos2unix /usr/bin/wifibroadcast
plink -ssh root@%2 -pw %3 cli -s .isp.sensorConfig /etc/sensors/imx415_milos15.bin
plink -ssh root@%2 -pw %3 cli -s .fpv.enabled true
plink -ssh root@%2 -pw %3 cli -s .fpv.noiseLevel 0
plink -ssh root@%2 -pw %3 cli -s .video0.codec h265
echo y | pscp -scp -pw %3 sensors/imx415_milos15.bin root@%2:/etc/sensors/
echo y | pscp -scp -pw %3 vtxmenu.ini root@%2:/etc/
echo y | pscp -scp -pw %3 reset/wifibroadcast root@%2:/usr/bin/
plink -ssh root@%2 -pw %3 dos2unix /etc/vtxmenu.ini
plink -ssh root@%2 -pw %3 dos2unix /usr/bin/wifibroadcast
plink -ssh root@%2 -pw %3 reboot
)

Expand Down

0 comments on commit 3a9631d

Please sign in to comment.