Skip to content

Commit d38759b

Browse files
committed
Fix zephyr_i2c stub
1 parent 5f25989 commit d38759b

File tree

1 file changed

+2
-2
lines changed
  • ports/zephyr-cp/bindings/zephyr_i2c

1 file changed

+2
-2
lines changed

ports/zephyr-cp/bindings/zephyr_i2c/I2C.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,9 @@ MP_DEFINE_CONST_FUN_OBJ_KW(zephyr_i2c_i2c_writeto_obj, 3, zephyr_i2c_i2c_writeto
275275
//| in_buffer: WriteableBuffer,
276276
//| *,
277277
//| out_start: int = 0,
278-
//| out_end: int = None,
278+
//| out_end: int = sys.maxsize,
279279
//| in_start: int = 0,
280-
//| in_end: int = None
280+
//| in_end: int = sys.maxsize
281281
//| ) -> None:
282282
//| """Write the bytes from ``out_buffer`` to the device selected by ``address``, generate
283283
//| no stop bit, generate a repeated start and read into ``in_buffer``. ``out_buffer`` and

0 commit comments

Comments
 (0)