Update I2CTarget.c

Correction in function request() doc function signature.
(after speaking with @jepler on Discord).

(@jepler: 'Circuitpython always has floats enabled')
This commit is contained in:
Paulus H.J. Schulinck 2022-10-01 22:23:17 +01:00
parent d66eeaab26
commit 041766351c
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ STATIC mp_obj_t i2ctarget_i2c_target_obj___exit__(size_t n_args, const mp_obj_t
}
STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(i2ctarget_i2c_target___exit___obj, 4, 4, i2ctarget_i2c_target_obj___exit__);
//| def request(self, *, timeout: int = -1) -> I2CTargetRequest:
//| def request(self, *, timeout: float = -1) -> I2CTargetRequest:
//| """Wait for an I2C request.
//|
//| :param float timeout: Timeout in seconds. Zero means wait forever, a negative value means check once