Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
a004554d
Commit
a004554d
authored
May 16, 2017
by
Damien George
Browse files
stmhal/modmachine: Remove TODO comment that is now implemented.
parent
37bd3b4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
stmhal/modmachine.c
View file @
a004554d
...
...
@@ -554,8 +554,6 @@ STATIC const mp_rom_map_elem_t machine_module_globals_table[] = {
{ MP_ROM_QSTR(MP_QSTR_RTC), MP_ROM_PTR(&pyb_rtc_type) },
{ MP_ROM_QSTR(MP_QSTR_ADC), MP_ROM_PTR(&pyb_adc_type) },
#endif
// TODO: Per new API, I2C types below, if called with 1 arg (ID), should still
// initialize master mode on the peripheral.
{
MP_ROM_QSTR
(
MP_QSTR_I2C
),
MP_ROM_PTR
(
&
machine_i2c_type
)
},
{
MP_ROM_QSTR
(
MP_QSTR_SPI
),
MP_ROM_PTR
(
&
machine_hard_spi_type
)
},
{
MP_ROM_QSTR
(
MP_QSTR_UART
),
MP_ROM_PTR
(
&
pyb_uart_type
)
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment