Merge pull request #8971 from Jason2866/patch-1

disable serial log and enable I2C for zbbridge
This commit is contained in:
Theo Arends 2020-07-24 12:32:15 +02:00 committed by GitHub
commit 93226c2bc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -422,6 +422,9 @@
#undef FALLBACK_MODULE #undef FALLBACK_MODULE
#define FALLBACK_MODULE SONOFF_ZB_BRIDGE // [Module2] Select default module on fast reboot where USER_MODULE is user template #define FALLBACK_MODULE SONOFF_ZB_BRIDGE // [Module2] Select default module on fast reboot where USER_MODULE is user template
#undef SERIAL_LOG_LEVEL
#define SERIAL_LOG_LEVEL LOG_LEVEL_NONE // [SerialLog] (LOG_LEVEL_NONE, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_DEBUG, LOG_LEVEL_DEBUG_MORE)
#undef USE_ARDUINO_OTA // Disable support for Arduino OTA #undef USE_ARDUINO_OTA // Disable support for Arduino OTA
#define USE_DOMOTICZ // Disable Domoticz #define USE_DOMOTICZ // Disable Domoticz
#undef USE_HOME_ASSISTANT // Disable Home Assistant #undef USE_HOME_ASSISTANT // Disable Home Assistant
@ -474,7 +477,7 @@
#undef USE_COUNTER // Disable counters #undef USE_COUNTER // Disable counters
#define USE_ADC_VCC // Display Vcc in Power status. Disable for use as Analog input on selected devices #define USE_ADC_VCC // Display Vcc in Power status. Disable for use as Analog input on selected devices
#undef USE_DS18x20 // Disable DS18x20 sensor #undef USE_DS18x20 // Disable DS18x20 sensor
#undef USE_I2C // Disable all I2C sensors and devices //#undef USE_I2C // Enable I2C, zbbridge uses i2c EEprom
#undef USE_SPI // Disable all SPI devices #undef USE_SPI // Disable all SPI devices
#undef USE_DISPLAY // Disable Display support #undef USE_DISPLAY // Disable Display support
#undef USE_MHZ19 // Disable support for MH-Z19 CO2 sensor #undef USE_MHZ19 // Disable support for MH-Z19 CO2 sensor
@ -497,6 +500,7 @@
#undef USE_OPENTHERM // Disable support for OpenTherm (+15k code) #undef USE_OPENTHERM // Disable support for OpenTherm (+15k code)
#undef USE_ENERGY_SENSOR // Disable energy sensors #undef USE_ENERGY_SENSOR // Disable energy sensors
#undef USE_ADE7953 // Disable ADE7953 Energy monitor as used on Shelly 2.5 (I2C address 0x38) (+1k5)
#undef USE_PZEM004T // Disable PZEM004T energy sensor #undef USE_PZEM004T // Disable PZEM004T energy sensor
#undef USE_PZEM_AC // Disable PZEM014,016 Energy monitor #undef USE_PZEM_AC // Disable PZEM014,016 Energy monitor
#undef USE_PZEM_DC // Disable PZEM003,017 Energy monitor #undef USE_PZEM_DC // Disable PZEM003,017 Energy monitor