docs: 补充核心分层中文注释
This commit is contained in:
@@ -11,6 +11,10 @@
|
||||
#include "domain.h"
|
||||
#include "esp_err.h"
|
||||
|
||||
/*
|
||||
* domain 私有协作接口:目录、角度数学、校准存储和 platform 适配器只供本组件实现
|
||||
* 使用。上层不得包含此文件;所有跨层契约必须经 domain.h 暴露。
|
||||
*/
|
||||
typedef struct {
|
||||
const char *name_cn;
|
||||
const char *name_en;
|
||||
@@ -29,6 +33,7 @@ void domain_calibration_store_set(const domain_direction_calibration_t *config);
|
||||
bool domain_calibration_store_get(domain_direction_calibration_t *out_config);
|
||||
|
||||
bool domain_direction_lock_state(int timeout_ms);
|
||||
/* 状态锁保护角度/初始化快照,物理运动由 direction service 的另一互斥锁串行化。 */
|
||||
void domain_direction_unlock_state(void);
|
||||
|
||||
typedef struct {
|
||||
|
||||
Reference in New Issue
Block a user