Skip to content

Commit 16e34b1

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 3f357d3 + 63e18cd commit 16e34b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-bindings/i2ctarget/I2CTarget.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ STATIC mp_obj_t i2ctarget_i2c_target_request(size_t n_args, const mp_obj_t *pos_
159159

160160
bool forever = false;
161161
uint64_t timeout_end = 0;
162-
if (timeout_ms <= 0) {
162+
if (timeout_ms == 0) {
163163
forever = true;
164164
} else if (timeout_ms > 0) {
165165
timeout_end = common_hal_time_monotonic_ms() + timeout_ms;

0 commit comments

Comments
 (0)