commit | 6776535322f7e5a9e513e4a0a5b00ab2609aff73 | [log] [tgz] |
---|---|---|
author | Jordan Yates <jordan.yates@data61.csiro.au> | Sun Jan 24 16:38:13 2021 +1000 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed Feb 10 08:55:15 2021 -0500 |
tree | f0adbe9194bb415f310c29dc2380303230a27923 | |
parent | b9ae1f671894c8593720e1bc3c5161bfc8688ebb [diff] |
lora: sx126x: update modem state on transitions Update the global state of the modem on calls to `SX126xReset` and `SX126xWakeup`. This stops `SX126xCheckDeviceReady` sending spurious SPI commands on every transieve before `SX126xSetOperatingMode` is called. Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>