Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
micropython
Commits
14105ff5
Commit
14105ff5
authored
Jun 07, 2022
by
Damien George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stm32/machine_i2c: Enable timingr constructor keyword on H7 MCUs.
Signed-off-by:
Damien George
<
damien@micropython.org
>
parent
a0dae1dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ports/stm32/machine_i2c.c
ports/stm32/machine_i2c.c
+1
-1
No files found.
ports/stm32/machine_i2c.c
View file @
14105ff5
...
...
@@ -186,7 +186,7 @@ STATIC void machine_hard_i2c_init(machine_hard_i2c_obj_t *self, uint32_t freq, u
/******************************************************************************/
/* MicroPython bindings for machine API */
#if defined(STM32F0) || defined(STM32F7)
#if defined(STM32F0) || defined(STM32F7)
|| defined(STM32H7)
#define MACHINE_I2C_TIMINGR (1)
#else
#define MACHINE_I2C_TIMINGR (0)
...
...
Write
Preview
Markdown
is supported
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