ucentral-schema: add GPS default configuration for WF-660A and WF-672

Fixes: WIFI-15223
Signed-off-by: Justin.Guo <guoxijun@actiontec.com>
This commit is contained in:
Justin.Guo 2025-11-11 10:47:13 +08:00 committed by John Crispin
parent 81c289ee66
commit ef4f095c96

View File

@ -12,6 +12,18 @@ case "$(board_name)" in
uci set gps.@gps[-1].disabled=0
uci set gps.@gps[-1].baudrate=115200
;;
"cig,wf672")
uci set gps.@gps[-1].tty='ttyUSB0'
uci set gps.@gps[-1].adjust_time=0
uci set gps.@gps[-1].disabled=1
uci set gps.@gps[-1].baudrate=115200
;;
"cig,wf660a")
uci set gps.@gps[-1].tty='ttyMSM0'
uci set gps.@gps[-1].adjust_time=0
uci set gps.@gps[-1].disabled=1
uci set gps.@gps[-1].baudrate=9600
;;
esac
exit 0