mirror of
https://github.com/micropython/micropython.git
synced 2026-05-01 21:30:14 +02:00
cda49bed27
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>
10 lines
175 B
Plaintext
10 lines
175 B
Plaintext
--- instance0 ---
|
|
rx0 reason full
|
|
rx0 reason overflow
|
|
rxed_spam True
|
|
[256, False, False, 0, b'aaaaa']
|
|
any False
|
|
--- instance1 ---
|
|
[85, False, False, 0, b'overflow']
|
|
any False
|