Simplifies the pattern of an optional arg which can be a list of at least a certain length, otherwise one is lazily initialised. Modify pyb.CAN and ESP-NOW APIs to use the helper. Note this changes the return type of pyb.CAN.recv() from tuple to list. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au> |
||
|---|---|---|
| .. | ||
| rx_callback.py | ||
| rx_callback.py.exp | ||
| rx_filters.py | ||
| rx_filters.py.exp | ||