基本功能已完成,还差功耗和架构优化
This commit is contained in:
@@ -127,7 +127,11 @@ int8_t jbEventProcess(jb_event_info_t *info, jb_data_point_t *ctrl)
|
||||
/* ── DP2 手动模式 (raw) ── */
|
||||
case DP_ID_HAND_MODE:
|
||||
memcpy(gDevData.hand_mode, ctrl->hand_mode, 2);
|
||||
// TODO: 根据 gDevData.hand_mode 执行动作 (长度 2 字节)
|
||||
/* 薄适配:通知业务层;03=停,00=空闲 */
|
||||
{
|
||||
extern void usr_dp_hand_write(uint8_t cmd);
|
||||
usr_dp_hand_write(ctrl->hand_mode[0]);
|
||||
}
|
||||
break;
|
||||
|
||||
/* ── DP3 绳索校准 (bool) ── */
|
||||
|
||||
Reference in New Issue
Block a user