Skip to content

Commit

Permalink
Merge pull request arduino#4514 from BrentWilkins/master
Browse files Browse the repository at this point in the history
Fixed typo
  • Loading branch information
agdl committed Feb 2, 2016
2 parents 0cdc53c + 7f13f63 commit 36c9419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hardware/arduino/avr/libraries/Wire/utility/twi.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ uint8_t twi_readFrom(uint8_t address, uint8_t* data, uint8_t length, uint8_t sen
// We need to remove ourselves from the repeated start state before we enable interrupts,
// since the ISR is ASYNC, and we could get confused if we hit the ISR before cleaning
// up. Also, don't enable the START interrupt. There may be one pending from the
// repeated start that we sent outselves, and that would really confuse things.
// repeated start that we sent ourselves, and that would really confuse things.
twi_inRepStart = false; // remember, we're dealing with an ASYNC ISR
do {
TWDR = twi_slarw;
Expand Down

0 comments on commit 36c9419

Please sign in to comment.