1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-25 20:02:37 +03:00

Merge pull request #553 from skandragon/esp8266

adjust clock stretch
This commit is contained in:
Ivan Grokhotkov 2015-07-16 09:47:48 +03:00
commit 5427abc325

View File

@ -37,9 +37,9 @@ static unsigned char twi_sda, twi_scl;
#endif
#if F_CPU == FCPU80
#define TWI_CLOCK_STRETCH 200
#define TWI_CLOCK_STRETCH 800
#else
#define TWI_CLOCK_STRETCH 400
#define TWI_CLOCK_STRETCH 1600
#endif
void twi_setClock(unsigned int freq){