From 55f0b96b2858007ea7a32d6c60b4e6f53ea29945 Mon Sep 17 00:00:00 2001 From: sola.lu <sola.lu@greentest.com.cn> Date: 周五, 11 4月 2025 15:14:28 +0800 Subject: [PATCH] c1 --- libscpi/test/test_parser.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libscpi/test/test_parser.c b/libscpi/test/test_parser.c index 204a334..1b214c3 100644 --- a/libscpi/test/test_parser.c +++ b/libscpi/test/test_parser.c @@ -150,7 +150,7 @@ err_buffer_pos = 0; SCPI_RegClearBits(&scpi_context, SCPI_REG_STB, STB_QMA); - SCPI_EventClear(&scpi_context); + SCPI_RegSet(&scpi_context, SCPI_REG_ESR, 0); SCPI_ErrorClear(&scpi_context); } -- Gitblit v1.9.1