Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ArduinoCore-avr
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
ArduinoCore-avr
Commits
3055c1ef
Commit
3055c1ef
authored
Jun 11, 2020
by
Martino Facchin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wire: apply last suggested comment from @matthijskooijman
parent
e4611a15
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libraries/Wire/src/utility/twi.c
libraries/Wire/src/utility/twi.c
+1
-1
No files found.
libraries/Wire/src/utility/twi.c
View file @
3055c1ef
...
@@ -419,7 +419,7 @@ void twi_stop(void)
...
@@ -419,7 +419,7 @@ void twi_stop(void)
while
(
TWCR
&
_BV
(
TWSTO
)){
while
(
TWCR
&
_BV
(
TWSTO
)){
if
(
twi_timeout_us
>
0ul
){
if
(
twi_timeout_us
>
0ul
){
if
(
counter
>
0ul
){
if
(
counter
>
0ul
){
_delay_us
(
10
);
_delay_us
(
us_per_loop
);
counter
--
;
counter
--
;
}
else
{
}
else
{
twi_handleTimeout
(
twi_do_reset_on_timeout
);
twi_handleTimeout
(
twi_do_reset_on_timeout
);
...
...
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