Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
dc9f7698
Commit
dc9f7698
authored
9 years ago
by
Yonezawa-T2
Browse files
Options
Downloads
Patches
Plain Diff
NEEDS SQUASHING i2c: revert partially
parent
1ce140d9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cpu/cc2538/periph/i2c.c
+0
-2
0 additions, 2 deletions
cpu/cc2538/periph/i2c.c
with
0 additions
and
2 deletions
cpu/cc2538/periph/i2c.c
+
0
−
2
View file @
dc9f7698
...
@@ -188,9 +188,7 @@ static uint_fast8_t i2c_ctrl_blocking(uint_fast8_t flags)
...
@@ -188,9 +188,7 @@ static uint_fast8_t i2c_ctrl_blocking(uint_fast8_t flags)
if
(
I2CM_STAT
&
BUSY
)
{
if
(
I2CM_STAT
&
BUSY
)
{
/* If the controller is still busy, it probably will be forever */
/* If the controller is still busy, it probably will be forever */
#ifdef MODULE_XTIMER
DEBUG
(
"Master is still BUSY after %u usec. Resetting.
\n
"
,
xtimer_timeout
);
DEBUG
(
"Master is still BUSY after %u usec. Resetting.
\n
"
,
xtimer_timeout
);
#endif
cc2538_i2c_init_master
(
speed_hz
);
cc2538_i2c_init_master
(
speed_hz
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment