-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit 2242465
lora-sx126x: Clean up some struct formatting.
Changes are cosmetic - and maybe very minor code size - but not functional.
_reg_read() was calling struct.packinto() with an incorrect number of
arguments but it seems like MicroPython didn't mind, as result is correct
for both versions.
This work was funded through GitHub Sponsors.
Signed-off-by: Angus Gratton <angus@redyak.com.au>1 parent 35bb795 commit 2242465
2 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
472 | - | ||
472 | + | ||
473 | 473 | | |
474 | 474 | | |
475 | 475 | | |
| |||
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
548 | - | ||
548 | + | ||
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
| |||
729 | 729 | | |
730 | 730 | | |
731 | 731 | | |
732 | - | ||
732 | + | ||
733 | 733 | | |
734 | 734 | | |
735 | - | ||
735 | + | ||
736 | 736 | | |
737 | 737 | | |
738 | 738 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | - | ||
1 | + | ||
2 | 2 | | |
3 | 3 | | |
0 commit comments