Skip to content

Commit

Permalink
Update SoftI2CMaster.h
Browse files Browse the repository at this point in the history
  • Loading branch information
SpenceKonde committed Aug 20, 2023
1 parent d2b355b commit 1429ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avr/libraries/Wire/src/SoftI2CMaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ void i2c_delay_half(void)
" dec r25 ; decrement counter ; 4C + xC \n\t"
" brne _Lidelay ; 5C+(x-1)2C + xC\n\t"
" ret ; 9C+(x-1)2C + xC = 7C + xC"
:'+d' ((uint8_t) temp) : [DELAY] "M" I2C_DELAY_COUNTER);
:"+d" ((uint8_t) temp) : [DELAY] "M" I2C_DELAY_COUNTER);
// 7 cycles + 3 times x cycles
#endif
}
Expand Down

0 comments on commit 1429ae6

Please sign in to comment.