Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Commit a004554

Browse files
committed
stmhal/modmachine: Remove TODO comment that is now implemented.
1 parent 37bd3b4 commit a004554

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

stmhal/modmachine.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,8 +554,6 @@ STATIC const mp_rom_map_elem_t machine_module_globals_table[] = {
554554
{ MP_ROM_QSTR(MP_QSTR_RTC), MP_ROM_PTR(&pyb_rtc_type) },
555555
{ MP_ROM_QSTR(MP_QSTR_ADC), MP_ROM_PTR(&pyb_adc_type) },
556556
#endif
557-
// TODO: Per new API, I2C types below, if called with 1 arg (ID), should still
558-
// initialize master mode on the peripheral.
559557
{ MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&machine_i2c_type) },
560558
{ MP_ROM_QSTR(MP_QSTR_SPI), MP_ROM_PTR(&machine_hard_spi_type) },
561559
{ MP_ROM_QSTR(MP_QSTR_UART), MP_ROM_PTR(&pyb_uart_type) },

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy