From 0a135b8deeeda50b653be666de262c192faf9e4b Mon Sep 17 00:00:00 2001 From: Andrey Gusakov Date: Sun, 9 Feb 2025 20:11:17 +0300 Subject: [PATCH] hip9011: fix unit test --- unit_tests/tests/test_hip9011.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unit_tests/tests/test_hip9011.cpp b/unit_tests/tests/test_hip9011.cpp index cf064be29d..140a5c42e6 100644 --- a/unit_tests/tests/test_hip9011.cpp +++ b/unit_tests/tests/test_hip9011.cpp @@ -69,7 +69,7 @@ TEST(hip9011, configurationCommands) { EXPECT_CALL(mock, sendSyncCommand(SET_GAIN_CMD(0xE), 0)).Times(1); EXPECT_CALL(mock, sendSyncCommand(SET_INTEGRATOR_CMD(0x1C), 0)).Times(1); EXPECT_CALL(mock, sendSyncCommand(SET_BAND_PASS_CMD(0x2A), 0)).Times(1); - EXPECT_CALL(mock, sendSyncCommand(SET_PRESCALER_CMD(6), 0)).Times(1); + EXPECT_CALL(mock, sendSyncCommand(SET_PRESCALER_CMD(HIP_8MHZ_PRESCALER), 0)).Times(1); instance.handleSettings(PARAMETERS); // initialization is over, no commands should be sent