pasko-zh / brzo_i2c

Brzo I2C is a fast I2C Implementation written in Assembly for the esp8266
GNU General Public License v3.0
244 stars 47 forks source link

Make disabling interrupts configurable #20

Closed flannelhead closed 7 years ago

flannelhead commented 7 years ago

Introduce a #define flag BRZO_I2C_DISABLE_INTERRUPTS for opting out of disabling interrupts during I2C transactions. This may be useful in situations where e.g. hardware timer interrupts need to stay enabled.

This closes https://github.com/pasko-zh/brzo_i2c/issues/19.

pasko-zh commented 7 years ago

Thanks a lot! Will merge it ASAP! (rather busy these days with other stuff...)