diff options
| author | Phil Howard <github@gadgetoid.com> | 2025-03-13 13:02:11 +0000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-03-25 23:52:49 +1100 |
| commit | f315a376b616fb195a18700a724715f0e7d250e3 (patch) | |
| tree | d51334f5e55a61f1954d9a3cdf1688f89ccef993 /py/smallint.c | |
| parent | 39452dbeed27423fd207d3cc48c52b4e591deea5 (diff) | |
rp2/machine_i2c: Require an I2C bus ID when no default is available.
When PICO_DEFAULT_I2C is not set require an I2C bus ID instead of
using -1 as a default, which would fail with a cryptic:
"I2C(-1) doesn't exist"
Signed-off-by: Phil Howard <github@gadgetoid.com>
Diffstat (limited to 'py/smallint.c')
0 files changed, 0 insertions, 0 deletions
