Commit 75d1249
authored
Don't memset the TXRX buffer when radio is set to receive mode (#1345)
* Don't memset the TXRX buffer when radio is set to receive mode
The 1262 doesn't do this memset, but the 1272/1276 do.
This means, in an interrupt, if the radio is put back in RX mode before the payload is extracted and handed to a callback, it is zero'd.
This causes bugs like zephyrproject-rtos/zephyr#48765
They would prefer it be fixed here, as it is just a waste anyway - we don't do this in 1262, and don't need to do it here.
* Don't memset buffer here
Similar to SX1276 change, this memset is unnecessary and causes bugs since SX1262 doesn't do it.1 parent de25cb7 commit 75d1249
2 files changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
901 | 901 | | |
902 | 902 | | |
903 | 903 | | |
904 | | - | |
905 | | - | |
906 | 904 | | |
907 | 905 | | |
908 | 906 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1034 | 1034 | | |
1035 | 1035 | | |
1036 | 1036 | | |
1037 | | - | |
1038 | | - | |
1039 | 1037 | | |
1040 | 1038 | | |
1041 | 1039 | | |
| |||
0 commit comments