lora: fix lora_recv parameter description

The timeout parameter for `lora_recv` is no longer a millisecond value
but a standard `k_timeout_t` value.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
This commit is contained in:
Jordan Yates 2021-06-25 20:39:19 +10:00 committed by Christopher Friedt
commit abdd61c3e9

View file

@ -141,9 +141,7 @@ static inline int lora_send(const struct device *dev,
* @param data Buffer to hold received data
* @param size Size of the buffer to hold the received data. Max size
allowed is 255.
* @param timeout Timeout value in milliseconds. API also accepts, 0
for no wait time and SYS_FOREVER_MS for blocking until
data arrives.
* @param timeout Duration to wait for a packet.
* @param rssi RSSI of received data
* @param snr SNR of received data
* @return Length of the data received on success, negative on error