diff options
| author | gamblor21 <mark.komus@gmail.com> | 2020-11-01 21:38:20 -0600 |
|---|---|---|
| committer | gamblor21 <mark.komus@gmail.com> | 2020-11-01 21:38:20 -0600 |
| commit | 8bbbb2833ad6d9b649132559795f58f8f31f486f (patch) | |
| tree | 91484c806d701a50c52f78b2a46c677d61b9d523 /shared-module | |
| parent | 7dd53804a023dad0ae8f6b8504522f88c6015e90 (diff) | |
Fixes from testing SPI
Diffstat (limited to 'shared-module')
| -rw-r--r-- | shared-module/busdevice/I2CDevice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-module/busdevice/I2CDevice.c b/shared-module/busdevice/I2CDevice.c index 41706c1a8..b9f8ee25c 100644 --- a/shared-module/busdevice/I2CDevice.c +++ b/shared-module/busdevice/I2CDevice.c @@ -39,8 +39,8 @@ void common_hal_busdevice_i2cdevice_lock(busdevice_i2cdevice_obj_t *self) { bool success = false; while (!success) { success = common_hal_busio_i2c_try_lock(self->i2c); - RUN_BACKGROUND_TASKS; - mp_handle_pending(); + //RUN_BACKGROUND_TASKS; + //mp_handle_pending(); } } |
