diff --git a/XYParser/XYParserApi.h b/XYParser/XYParserApi.h index e61063d..31b6298 100644 --- a/XYParser/XYParserApi.h +++ b/XYParser/XYParserApi.h @@ -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]; diff --git a/XYParser/XYParserTests/Tests.cpp b/XYParser/XYParserTests/Tests.cpp index c3b6ff4..53cd4c2 100644 --- a/XYParser/XYParserTests/Tests.cpp +++ b/XYParser/XYParserTests/Tests.cpp @@ -1,4 +1,4 @@ -// XYParser API 单元测试文件 +// XYParser API 单元测试文件 // 测试 XYParser 库的核心功能,包括解析器创建、错误处理、帧解析等 #include