修改的标签走队列模式
This commit is contained in:
@@ -163,7 +163,7 @@ def main():
|
||||
if ext_label is not None:
|
||||
# 将标签写入当前包所有5个采样点的第65通道 (index 64)
|
||||
# 覆盖全部采样点确保 event_inner_idx 无论落在哪个位置都能被正确检测
|
||||
packet[:, 64] = float(ext_label)
|
||||
packet[:, 64][0] = float(ext_label)
|
||||
ts = datetime.now().strftime('%H:%M:%S')
|
||||
print(f"[{ts}] 打标签: label={ext_label} -> ch64[all 5 samples] (global_sample_idx={global_sample_idx})")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user