mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			[no ci] fix broken (#1077)
							parent
							
								
									3ec2f4be23
								
							
						
					
					
						commit
						e32a4f8564
					
				|  | @ -8,7 +8,6 @@ DATALINK_SITE = | ||||||
| DATALINK_LICENSE = GPL-2.0 | DATALINK_LICENSE = GPL-2.0 | ||||||
| 
 | 
 | ||||||
| DATALINK_UNIT = drone | DATALINK_UNIT = drone | ||||||
| 
 |  | ||||||
| ifeq ($(OPENIPC_SOC_FAMILY),hi3536dv100) | ifeq ($(OPENIPC_SOC_FAMILY),hi3536dv100) | ||||||
| 	DATALINK_UNIT = gs | 	DATALINK_UNIT = gs | ||||||
| endif | endif | ||||||
|  |  | ||||||
|  | @ -17,14 +17,14 @@ fi | ||||||
| 
 | 
 | ||||||
| start_drone_telemetry() { | start_drone_telemetry() { | ||||||
|     if [ ${one_way} = "false" ]; then |     if [ ${one_way} = "false" ]; then | ||||||
| 	telemetry_rx -p ${stream_rx} -u ${port_rx} -K ${keydir}/${unit}.key -i ${link_id} ${wlan} > /dev/null & | 	  telemetry_rx -p ${stream_rx} -u ${port_rx} -K ${keydir}/${unit}.key -i ${link_id} ${wlan} > /dev/null & | ||||||
|     fi |     fi | ||||||
|     telemetry_tx -p ${stream_tx} -u ${port_tx} -K ${keydir}/${unit}.key -B ${bandwidth} -M ${mcs_index} -S ${stbc} -L ${ldpc} -G ${guard_interval} -k ${fec_k} -n ${fec_n} -T ${fec_timeout} -i ${link_id} ${wlan} > /dev/null & |     telemetry_tx -p ${stream_tx} -u ${port_tx} -K ${keydir}/${unit}.key -B ${bandwidth} -M ${mcs_index} -S ${stbc} -L ${ldpc} -G ${guard_interval} -k ${fec_k} -n ${fec_n} -T ${fec_timeout} -i ${link_id} ${wlan} > /dev/null & | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| start_gs_telemetry() { | start_gs_telemetry() { | ||||||
|     if [ ${one_way} = "false" ]; then |     if [ ${one_way} = "false" ]; then | ||||||
| 	telemetry_tx -p ${stream_tx} -u ${port_tx} -K ${keydir}/${unit}.key -B ${bandwidth} -M ${mcs_index} -S ${stbc} -L ${ldpc} -G ${guard_interval} -k ${fec_k} -n ${fec_n} -T ${fec_timeout} -i ${link_id} ${wlan} > /dev/null & | 	  telemetry_tx -p ${stream_tx} -u ${port_tx} -K ${keydir}/${unit}.key -B ${bandwidth} -M ${mcs_index} -S ${stbc} -L ${ldpc} -G ${guard_interval} -k ${fec_k} -n ${fec_n} -T ${fec_timeout} -i ${link_id} ${wlan} > /dev/null & | ||||||
|     fi |     fi | ||||||
|     telemetry_rx -p ${stream_rx} -u ${port_rx} -K ${keydir}/${unit}.key -i ${link_id} ${wlan} > /dev/null & |     telemetry_rx -p ${stream_rx} -u ${port_rx} -K ${keydir}/${unit}.key -i ${link_id} ${wlan} > /dev/null & | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -30,6 +30,8 @@ define WIFIBROADCAST_INSTALL_TARGET_CMDS | ||||||
| 
 | 
 | ||||||
| 	$(INSTALL) -m 755 -d $(TARGET_DIR)/etc | 	$(INSTALL) -m 755 -d $(TARGET_DIR)/etc | ||||||
| 	cp $(WIFIBROADCAST_PKGDIR)/files/wfb_$(WIFIBROADCAST_UNIT).conf $(TARGET_DIR)/etc/wfb.conf | 	cp $(WIFIBROADCAST_PKGDIR)/files/wfb_$(WIFIBROADCAST_UNIT).conf $(TARGET_DIR)/etc/wfb.conf | ||||||
|  | 	$(INSTALL) -m 755 -d $(TARGET_DIR)/usr/bin | ||||||
|  | 	cp $(WIFIBROADCAST_PKGDIR)/files/wifibroadcast $(TARGET_DIR)/usr/bin | ||||||
| 
 | 
 | ||||||
| 	$(INSTALL) -m 755 -d $(TARGET_DIR)/usr/bin | 	$(INSTALL) -m 755 -d $(TARGET_DIR)/usr/bin | ||||||
| 	cp $(WIFIBROADCAST_PKGDIR)/files/setmcs $(TARGET_DIR)/usr/bin | 	cp $(WIFIBROADCAST_PKGDIR)/files/setmcs $(TARGET_DIR)/usr/bin | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue