切换导航条
此项目
正在载入...
登录
潘浩彬
/
SerialPorject
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
差异文件
浏览文件
作者
潘浩彬
2023-08-30 16:22:58 +0800
提交
68ecbb7fb4eb6c68cef22e62338f40098ebdba2c
2 个父辈
4126b377
8edf7b82
合并分支 'dev_00.00.00.08' 到 'master'
Dev 00.00.00.08 查看合并请求
!2
显示空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
34 行增加
和
3 行删除
.fuse_hidden000094f000000006
JZsdk_Uart/JZsdk_Uart_UartDeal.c
.fuse_hidden000094f000000006
0 → 100644
查看文件 @
68ecbb7
#!/bin/bash
#1、输入分支名,账号,密码,描述信息
branch_name
=
"dev_00.00.00.08"
Account
=
"PanHaoBin"
PassWord
=
"ookk3866"
Message
=
"这是一个上传脚本测试"
ProjectName
=
"114.132.166.25:8099/PanHaoBin/SerialPorject.git"
# 检查分支是否存在
if
git rev-parse --verify
"
$branch_name
"
>/dev/null 2>&1;
then
echo
"分支
$branch_name
存在"
else
echo
"分支
$branch_name
不存在"
# 创建新分支
git branch
"
$branch_name
"
fi
# 切换到新创建的分支
git checkout
"
$branch_name
"
# 写入描述/注释
git add .
git commit -m
"
$Message
"
# 设置远程仓库的URL
remote_url
=
"http://
$Account
:
$PassWord
@
$ProjectName
"
# 上传到远程仓库
git push
"
$remote_url
"
"
$branch_name
"
...
...
JZsdk_Uart/JZsdk_Uart_UartDeal.c
查看文件 @
68ecbb7
...
...
@@ -200,9 +200,7 @@ static void *UartDeal_rece(void *arg)
memset
(
getbuf
,
0
,
sizeof
(
getbuf
));
//清空接收数组
ret
=
read
(
Uart_fd
,
getbuf
,
sizeof
(
getbuf
));
USER_LOG_INFO
(
"RecvLen:%d
\n
"
,
ret
);
//UartDeal_Recv_interface(Uart_fd, getbuf, ret);
UartDeal_Recv_interface
(
Uart_fd
,
getbuf
,
ret
);
}
}
...
...
请
注册
或
登录
后发表评论