Skip to content

Commit ca08367

Browse files
author
Hasnain Virk
committed
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.
1 parent 3ec643f commit ca08367

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

UNITTESTS/stubs/LoRaPHY_stub.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,10 @@ uint8_t LoRaPHY::verify_link_ADR_req(verify_adr_params_t *verify_params,
168168
return LoRaPHY_stub::uint8_value;
169169
}
170170

171-
void LoRaPHY::get_rx_window_params(double t_symb, uint8_t min_rx_symb,
172-
uint32_t rx_error, uint32_t wakeup_time,
173-
uint32_t *window_timeout, int32_t *window_offset)
171+
void LoRaPHY::get_rx_window_params(float t_symbol, uint8_t min_rx_symbols,
172+
float rx_error, float wakeup_time,
173+
uint32_t *window_length, int32_t *window_offset,
174+
uint8_t phy_dr)
174175
{
175176
}
176177

0 commit comments

Comments
 (0)