脱落状态改进
This commit is contained in:
@@ -117,7 +117,7 @@ struct XYParserFrameSummary {
|
|||||||
std::uint16_t current_sample_rate_hz;
|
std::uint16_t current_sample_rate_hz;
|
||||||
// 当前脑电帽类型,保留设备上报的原始值。
|
// 当前脑电帽类型,保留设备上报的原始值。
|
||||||
std::uint8_t cap_type;
|
std::uint8_t cap_type;
|
||||||
// GND 脱落状态,0=正常,1=脱落。
|
// GND state: 0=disabled, 1=connected, 2=detached.
|
||||||
std::uint8_t gnd_detached;
|
std::uint8_t gnd_detached;
|
||||||
double channel_values_uv[XYPARSER_SAMPLES_PER_FRAME][XYPARSER_MAX_CHANNELS];
|
double channel_values_uv[XYPARSER_SAMPLES_PER_FRAME][XYPARSER_MAX_CHANNELS];
|
||||||
std::uint8_t sample_trigger_types[XYPARSER_SAMPLES_PER_FRAME];
|
std::uint8_t sample_trigger_types[XYPARSER_SAMPLES_PER_FRAME];
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// XYParser API 单元测试文件
|
// XYParser API 单元测试文件
|
||||||
// 测试 XYParser 库的核心功能,包括解析器创建、错误处理、帧解析等
|
// 测试 XYParser 库的核心功能,包括解析器创建、错误处理、帧解析等
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user