From 03f71f35b2bff6caf609709447b980fddec19612 Mon Sep 17 00:00:00 2001 From: chenyue Date: Thu, 18 Jun 2026 11:01:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=AF=B4=E6=98=8E=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- readme.md | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 readme.md diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..559dc1d --- /dev/null +++ b/readme.md @@ -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