From 0e30ab462101fe7d65c3ffdbeafa917214d30efe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Sat, 5 Jan 2019 16:09:09 +0100 Subject: [PATCH] Normalize naming for Arilux AL LC02 v14 --- code/espurna/config/arduino.h | 1 + code/espurna/config/hardware.h | 4 ++-- code/platformio.ini | 8 ++++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/code/espurna/config/arduino.h b/code/espurna/config/arduino.h index 9b71d77b..8d2a95af 100644 --- a/code/espurna/config/arduino.h +++ b/code/espurna/config/arduino.h @@ -111,6 +111,7 @@ //#define GBLIFE_RGBW_SOCKET //#define SMARTLIFE_MINI_SMART_SOCKET //#define GOSUND_SP1_V23 +//#define ARILUX_AL_LC02_V14 //-------------------------------------------------------------------------------- // Features (values below are non-default values) diff --git a/code/espurna/config/hardware.h b/code/espurna/config/hardware.h index f71dd161..007cb99f 100644 --- a/code/espurna/config/hardware.h +++ b/code/espurna/config/hardware.h @@ -1637,11 +1637,11 @@ #define LIGHT_CH3_INVERSE 0 #define LIGHT_CH4_INVERSE 0 -#elif defined(ARILUX_AL_LC02V14) +#elif defined(ARILUX_AL_LC02_V14) // Info #define MANUFACTURER "ARILUX" - #define DEVICE "AL_LC02V14" + #define DEVICE "AL_LC02_V14" #define RELAY_PROVIDER RELAY_PROVIDER_LIGHT #define LIGHT_PROVIDER LIGHT_PROVIDER_DIMMER #define DUMMY_RELAY_COUNT 1 diff --git a/code/platformio.ini b/code/platformio.ini index f352507a..620e2124 100644 --- a/code/platformio.ini +++ b/code/platformio.ini @@ -1404,25 +1404,25 @@ upload_flags = ${common.upload_flags} monitor_speed = ${common.monitor_speed} extra_scripts = ${common.extra_scripts} -[env:arilux-al-lc02v14] +[env:arilux-al-lc02-v14] platform = ${common.platform} framework = ${common.framework} board = ${common.board_1m} board_build.flash_mode = ${common.flash_mode} lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} -build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC02V14 +build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC02_V14 monitor_speed = ${common.monitor_speed} extra_scripts = ${common.extra_scripts} -[env:arilux-al-lc02v14-ota] +[env:arilux-al-lc02-v14-ota] platform = ${common.platform} framework = ${common.framework} board = ${common.board_1m} board_build.flash_mode = ${common.flash_mode} lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} -build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC02V14 +build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC02_V14 upload_speed = ${common.upload_speed} upload_port = ${common.upload_port} upload_flags = ${common.upload_flags}