File tree Expand file tree Collapse file tree
shared-bindings/bitbangio Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ STATIC mp_obj_t bitbangio_spi_readinto(size_t n_args, const mp_obj_t *args) {
236236}
237237MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN (bitbangio_spi_readinto_obj , 2 , 2 , bitbangio_spi_readinto );
238238
239- //| .. method:: SPI.write_readinto(buf_in, buf_out )
239+ //| .. method:: SPI.write_readinto(buffer_out, buffer_in )
240240//|
241241//| Write out the data in ``buffer_out`` while simultaneously reading data into ``buffer_in``.
242242STATIC mp_obj_t bitbangio_spi_write_readinto (size_t n_args , const mp_obj_t * args ) {
@@ -279,7 +279,7 @@ STATIC const mp_rom_map_elem_t bitbangio_spi_locals_dict_table[] = {
279279
280280 { MP_ROM_QSTR (MP_QSTR_readinto ), MP_ROM_PTR (& bitbangio_spi_readinto_obj ) },
281281 { MP_ROM_QSTR (MP_QSTR_write ), MP_ROM_PTR (& bitbangio_spi_write_obj ) },
282- { MP_ROM_QSTR (MP_QSTR_write_readinto ), MP_ROM_PTR (& bitbangio_spi_write_readinto_obj ) },
282+ { MP_ROM_QSTR (MP_QSTR_write_readinto ), MP_ROM_PTR (& bitbangio_spi_write_readinto_obj ) },
283283};
284284STATIC MP_DEFINE_CONST_DICT (bitbangio_spi_locals_dict , bitbangio_spi_locals_dict_table );
285285
You can’t perform that action at this time.
0 commit comments