commit | d2363be091a0f5983fe51fc8f95ab5398f411968 | [log] [tgz] |
---|---|---|
author | Jordan Yates <jordan.yates@data61.csiro.au> | Wed Jun 30 11:45:41 2021 +1000 |
committer | Christopher Friedt <chrisfriedt@gmail.com> | Sun Aug 08 04:19:27 2021 -0400 |
tree | 5255c5c60beb6a3d1aa4bb0e00c366373d5ec07a | |
parent | 586a4bfc7d29e87820b43cfc92d5ff055431b9f4 [diff] |
lora: sx12xx_common: thread safe RX Make the `lora_recv` operation thread safe by copying memory directly in the callback instead of deferring copying to the original caller. To ensure pointer validity, this requires performing operations "inside" the `modem_release` context. Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>