mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 18:56:38 +00:00
Save some RAM on ESP8266
This commit is contained in:
parent
9f8c8efac1
commit
24105a74b2
@ -533,7 +533,7 @@
|
||||
#define USE_TUYA_MCU // Add support for Tuya Serial MCU
|
||||
#define TUYA_DIMMER_ID 0 // Default dimmer Id
|
||||
#define USE_TUYA_TIME // Add support for Set Time in Tuya MCU
|
||||
#define USE_TUYAMCUBR // Add support for TuyaMCU Bridge
|
||||
//#define USE_TUYAMCUBR // Add support for TuyaMCU Bridge
|
||||
#define USE_ARMTRONIX_DIMMERS // Add support for Armtronix Dimmers (+1k4 code)
|
||||
#define USE_PS_16_DZ // Add support for PS-16-DZ Dimmer (+2k code)
|
||||
#define USE_SONOFF_IFAN // Add support for Sonoff iFan02 and iFan03 (+2k code)
|
||||
|
@ -13,7 +13,11 @@
|
||||
|
||||
const uint8_t I2C_RETRY_COUNTER = 3;
|
||||
|
||||
#ifdef ESP8266
|
||||
uint32_t i2c_active[1][4] = { 0 };
|
||||
#else
|
||||
uint32_t i2c_active[2][4] = { 0 };
|
||||
#endif
|
||||
uint32_t i2c_buffer = 0;
|
||||
|
||||
bool I2cBegin(int sda, int scl, uint32_t frequency = 100000);
|
||||
|
Loading…
x
Reference in New Issue
Block a user