mirror of
https://github.com/esphome/esphome.git
synced 2025-10-03 10:32:21 +01:00
Update for 1.4.0
This commit is contained in:
@@ -25,5 +25,4 @@ def setup_output_platform(obj, config, skip_power_supply=False):
|
||||
add(obj.set_max_power(config[CONF_MAX_POWER]))
|
||||
|
||||
|
||||
def build_flags(config):
|
||||
return '-DUSE_OUTPUT'
|
||||
BUILD_FLAGS = '-DUSE_OUTPUT'
|
||||
|
@@ -28,5 +28,4 @@ def to_code(config):
|
||||
output.setup_output_platform(gpio, config)
|
||||
|
||||
|
||||
def build_flags(config):
|
||||
return '-DUSE_ESP8266_PWM_OUTPUT'
|
||||
BUILD_FLAGS = '-DUSE_ESP8266_PWM_OUTPUT'
|
||||
|
@@ -17,5 +17,4 @@ def to_code(config):
|
||||
output.setup_output_platform(gpio, config)
|
||||
|
||||
|
||||
def build_flags(config):
|
||||
return '-DUSE_GPIO_OUTPUT'
|
||||
BUILD_FLAGS = '-DUSE_GPIO_OUTPUT'
|
||||
|
@@ -38,5 +38,4 @@ def to_code(config):
|
||||
output.setup_output_platform(ledc, config)
|
||||
|
||||
|
||||
def build_flags(config):
|
||||
return '-DUSE_LEDC_OUTPUT'
|
||||
BUILD_FLAGS = '-DUSE_LEDC_OUTPUT'
|
||||
|
@@ -25,5 +25,4 @@ def to_code(config):
|
||||
output.setup_output_platform(out, config, skip_power_supply=True)
|
||||
|
||||
|
||||
def build_flags(config):
|
||||
return '-DUSE_PCA9685_OUTPUT'
|
||||
BUILD_FLAGS = '-DUSE_PCA9685_OUTPUT'
|
||||
|
Reference in New Issue
Block a user