diff options
| author | Damien George <damien@micropython.org> | 2023-07-25 11:33:51 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-07-25 11:33:51 +1000 |
| commit | b2adfc8077435419c5a5eecb2818cba44f1d3f8f (patch) | |
| tree | 6b942e2f81a27fd90ecfb17b04a120541693179b /docs/develop | |
| parent | 162dd022b188b3e26738bb692417480a0c5546c4 (diff) | |
esp32/machine_hw_spi: Check for valid SPI id in constructor, not init.
Otherwise constructing an invalid SPI instance (eg machine.SPI(3)) will
mess up machine.SPI(2)'s state before it's detected that it's an invalid
SPI id.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/develop')
0 files changed, 0 insertions, 0 deletions
