增加说明文档

This commit is contained in:
2026-06-18 11:01:14 +08:00
parent d7040f1029
commit 03f71f35b2
+40
View File
@@ -0,0 +1,40 @@
## xy2-100解码器
2025-9-24 chenyue
### 问题
DSView默认的xy2-100解码器,解析的位置数据是错误的(比如0x7fff被错误解析为-32769,0x8000被解析为0)。
### 解决方案
采用修正后的解码器xy2-100-bsl,修正后的振镜位置区间为[0,65535]
### 使用方法
将附件中的解码器xy2-100-bsl解压后放到DSview安装目录(C:\Program Files\DSView\decoders),重新启动DSView既可以看到新的解码器xy2-100-bsl
## 如何合并git子项目
#!/bin/bash
### 配置变量
主仓库路径="../"
要合并的仓库URL="xy2-100-bsl"
子目录名="xy2-100-cy"
分支名="master" # 或 master
### 克隆要合并的仓库
git clone "$要合并的仓库URL" temp-repo
cd temp-repo
### 使用 filter-repo 移动文件
git filter-repo --to-subdirectory-filter "$子目录名"
### 返回主仓库
cd "$主仓库路径"
### 添加远程并合并
git remote add temp-remote ./temp-repo
git fetch temp-remote
git merge temp-remote/$分支名 --allow-unrelated-histories -m "合并 $子目录名 到子目录"
### 清理
git remote remove temp-remote