Commit a2cfbc4
committed
Detect buzzer via Pin.board attribute
Replace the module-import check for XRPLib.buzzer with an explicit hardware capability check using hasattr(Pin.board, "BOARD_BUZZER") in XRPLib/resetbot.py.1 parent 5e21c1d commit a2cfbc4
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
0 commit comments