From e34f860cb6c2c30475c4e1e35dff2d87bfc390e5 Mon Sep 17 00:00:00 2001 From: Hasnain Virk Date: Tue, 27 Nov 2018 13:06:40 +0200 Subject: [PATCH] Updating get_rx_window_params() API in stubs Unittest stubs needed to be updated for the API change. Although this API is private and internal to LoRaPHY, somehow it appeared in the LoRaPHYStub. Updating it for consistency. --- UNITTESTS/stubs/LoRaPHY_stub.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/UNITTESTS/stubs/LoRaPHY_stub.cpp b/UNITTESTS/stubs/LoRaPHY_stub.cpp index 56862af5df..01b7312b7c 100644 --- a/UNITTESTS/stubs/LoRaPHY_stub.cpp +++ b/UNITTESTS/stubs/LoRaPHY_stub.cpp @@ -168,9 +168,10 @@ uint8_t LoRaPHY::verify_link_ADR_req(verify_adr_params_t *verify_params, return LoRaPHY_stub::uint8_value; } -void LoRaPHY::get_rx_window_params(double t_symb, uint8_t min_rx_symb, - uint32_t rx_error, uint32_t wakeup_time, - uint32_t *window_timeout, int32_t *window_offset) +void LoRaPHY::get_rx_window_params(float t_symbol, uint8_t min_rx_symbols, + float rx_error, float wakeup_time, + uint32_t *window_length, int32_t *window_offset, + uint8_t phy_dr) { }