Browse Source

Normalize naming for Arilux AL LC02 v14

refactor-terminal
Xose Pérez 5 years ago
parent
commit
0e30ab4621
3 changed files with 7 additions and 6 deletions
  1. +1
    -0
      code/espurna/config/arduino.h
  2. +2
    -2
      code/espurna/config/hardware.h
  3. +4
    -4
      code/platformio.ini

+ 1
- 0
code/espurna/config/arduino.h View File

@ -111,6 +111,7 @@
//#define GBLIFE_RGBW_SOCKET //#define GBLIFE_RGBW_SOCKET
//#define SMARTLIFE_MINI_SMART_SOCKET //#define SMARTLIFE_MINI_SMART_SOCKET
//#define GOSUND_SP1_V23 //#define GOSUND_SP1_V23
//#define ARILUX_AL_LC02_V14
//-------------------------------------------------------------------------------- //--------------------------------------------------------------------------------
// Features (values below are non-default values) // Features (values below are non-default values)


+ 2
- 2
code/espurna/config/hardware.h View File

@ -1637,11 +1637,11 @@
#define LIGHT_CH3_INVERSE 0 #define LIGHT_CH3_INVERSE 0
#define LIGHT_CH4_INVERSE 0 #define LIGHT_CH4_INVERSE 0
#elif defined(ARILUX_AL_LC02V14)
#elif defined(ARILUX_AL_LC02_V14)
// Info // Info
#define MANUFACTURER "ARILUX" #define MANUFACTURER "ARILUX"
#define DEVICE "AL_LC02V14"
#define DEVICE "AL_LC02_V14"
#define RELAY_PROVIDER RELAY_PROVIDER_LIGHT #define RELAY_PROVIDER RELAY_PROVIDER_LIGHT
#define LIGHT_PROVIDER LIGHT_PROVIDER_DIMMER #define LIGHT_PROVIDER LIGHT_PROVIDER_DIMMER
#define DUMMY_RELAY_COUNT 1 #define DUMMY_RELAY_COUNT 1


+ 4
- 4
code/platformio.ini View File

@ -1404,25 +1404,25 @@ upload_flags = ${common.upload_flags}
monitor_speed = ${common.monitor_speed} monitor_speed = ${common.monitor_speed}
extra_scripts = ${common.extra_scripts} extra_scripts = ${common.extra_scripts}
[env:arilux-al-lc02v14]
[env:arilux-al-lc02-v14]
platform = ${common.platform} platform = ${common.platform}
framework = ${common.framework} framework = ${common.framework}
board = ${common.board_1m} board = ${common.board_1m}
board_build.flash_mode = ${common.flash_mode} board_build.flash_mode = ${common.flash_mode}
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
lib_ignore = ${common.lib_ignore} 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} monitor_speed = ${common.monitor_speed}
extra_scripts = ${common.extra_scripts} extra_scripts = ${common.extra_scripts}
[env:arilux-al-lc02v14-ota]
[env:arilux-al-lc02-v14-ota]
platform = ${common.platform} platform = ${common.platform}
framework = ${common.framework} framework = ${common.framework}
board = ${common.board_1m} board = ${common.board_1m}
board_build.flash_mode = ${common.flash_mode} board_build.flash_mode = ${common.flash_mode}
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
lib_ignore = ${common.lib_ignore} 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_speed = ${common.upload_speed}
upload_port = ${common.upload_port} upload_port = ${common.upload_port}
upload_flags = ${common.upload_flags} upload_flags = ${common.upload_flags}


Loading…
Cancel
Save