From 37a293243932cb3b2021ef91377c70e610dd5fc5 Mon Sep 17 00:00:00 2001 From: Howard Li <bighorn@pursuitofchallenge.com> Date: 周日, 19 4月 2020 12:09:28 +0800 Subject: [PATCH] Refactor SCPI_RegSet and SCPI_CoreCls --- 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 fc33a74..1ea9543 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