脱落状态改进

This commit is contained in:
2026-06-10 10:29:59 +08:00
parent 8b93437028
commit 2dff3b89c4
2 changed files with 2 additions and 2 deletions

View File

@@ -117,7 +117,7 @@ struct XYParserFrameSummary {
std::uint16_t current_sample_rate_hz;
// 当前脑电帽类型,保留设备上报的原始值。
std::uint8_t cap_type;
// GND 脱落状态0=正常1=脱落。
// GND state: 0=disabled, 1=connected, 2=detached.
std::uint8_t gnd_detached;
double channel_values_uv[XYPARSER_SAMPLES_PER_FRAME][XYPARSER_MAX_CHANNELS];
std::uint8_t sample_trigger_types[XYPARSER_SAMPLES_PER_FRAME];

View File

@@ -1,4 +1,4 @@
// XYParser API 单元测试文件
// XYParser API 单元测试文件
// 测试 XYParser 库的核心功能,包括解析器创建、错误处理、帧解析等
#include <gtest/gtest.h>