2v25 : STM32F4: shorter timeout used for I2C/etc #7688
-
How can I find components in Espruino source code was impacted by this change?
I have a few sensors and I'm frequently losing its answers after upgrading to 2v25: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
If you do Git Blame on the Changelog you can usually just click through on the line that changed: https://github.com/espruino/Espruino/blame/master/ChangeLog But in this case a chunk of stuff was merged at once and it can't be found - I believe this is the line you need: https://github.com/espruino/Espruino/blob/master/src/jshardware.h#L434-L440 I'm very surprised about the timeout causing you issues though - 2 million cycles still equates to quite a big delay, and usually most I2C devices reply almost immediately. |
Beta Was this translation helpful? Give feedback.
If you do Git Blame on the Changelog you can usually just click through on the line that changed: https://github.com/espruino/Espruino/blame/master/ChangeLog
But in this case a chunk of stuff was merged at once and it can't be found - I believe this is the line you need: https://github.com/espruino/Espruino/blob/master/src/jshardware.h#L434-L440
I'm very surprised about the timeout causing you issues though - 2 million cycles still equates to quite a big delay, and usually most I2C devices reply almost immediately.