feat: 发布V1.1.35版本,
北向轮询无回码让行逻辑 当空载时电流显示为0 1. 修改chrg_comm.c:更新协议板固件版本为0x0133,新增Source初始化事务保护逻辑 2. 修改chrg_roll_nor.c:优化北向轮询机制,单次请求超时后直接切换通道 3. 修改chrg_eload.h/c:新增小电流归零阈值宏,实现功率板小电流采样归零处理 4. 更新chrg_def.h版本号为V1.1.35 5. 更新修改日志文档,补充V1.1.33~V1.1.35版本更新内容
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/****************************************************************************
|
||||
文件名称 : chrg_eload.c
|
||||
完成日期 :
|
||||
当前版本号 : V1.1.24
|
||||
当前版本号 : V1.1.34
|
||||
主要功能 : 源载命令数据解析,封装,读写请求。
|
||||
版本历史 : 创建原始版本
|
||||
说明 :
|
||||
@@ -452,6 +452,9 @@ int chrg_eload_parse (rt_uint8_t idx, rt_uint8_t pt, rt_uint8_t *data, rt_uint16
|
||||
pLOAD->mode = (rt_uint8_t)pP1->work_mode;
|
||||
pLOAD->voltage = swap_u32(pP1->voltage);
|
||||
pLOAD->current = swap_u32(pP1->current);
|
||||
if (pLOAD->current < ELOAD_CURRENT_ZERO_THRESHOLD_MA) {
|
||||
pLOAD->current = 0U;
|
||||
}
|
||||
pLOAD->SHORT_volt = swap_u16(pP1->SHORT_volt);
|
||||
pLOAD->SHORT_curr = swap_u16(pP1->SHORT_curr);
|
||||
pLOAD->OCP_volt = swap_u16(pP1->OCP_volt);
|
||||
|
||||
Reference in New Issue
Block a user