Browse Source

Fix QuinLED naming

fastled
Xose Pérez 7 years ago
parent
commit
3625aae7d7
3 changed files with 7 additions and 7 deletions
  1. +2
    -2
      code/espurna/config/hardware.h
  2. +1
    -1
      code/espurna/hardware.ino
  3. +4
    -4
      code/platformio.ini

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

@ -972,10 +972,10 @@
// - http://blog.quindorian.org/2017/02/esp8266-led-lighting-quinled-v2-6-pcb.html/ // - http://blog.quindorian.org/2017/02/esp8266-led-lighting-quinled-v2-6-pcb.html/
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
#elif defined(QUINLED)
#elif defined(INTERMITTECH_QUINLED)
// Info // Info
#define MANUFACTURER "INTERMIT.TECH"
#define MANUFACTURER "INTERMITTECH"
#define DEVICE "QUINLED" #define DEVICE "QUINLED"
#define RELAY_PROVIDER RELAY_PROVIDER_LIGHT #define RELAY_PROVIDER RELAY_PROVIDER_LIGHT
#define LIGHT_PROVIDER LIGHT_PROVIDER_DIMMER #define LIGHT_PROVIDER LIGHT_PROVIDER_DIMMER


+ 1
- 1
code/espurna/hardware.ino View File

@ -469,7 +469,7 @@ void hwUpwardsCompatibility() {
setSetting("relayType", 1, RELAY_TYPE_NORMAL); setSetting("relayType", 1, RELAY_TYPE_NORMAL);
setSetting("relayType", 2, RELAY_TYPE_NORMAL); setSetting("relayType", 2, RELAY_TYPE_NORMAL);
#elif defined(QUINLED)
#elif defined(INTERMITTECH_QUINLED)
setSetting("board", 41); setSetting("board", 41);
setSetting("relayProvider", RELAY_PROVIDER_LIGHT); setSetting("relayProvider", RELAY_PROVIDER_LIGHT);


+ 4
- 4
code/platformio.ini View File

@ -933,24 +933,24 @@ upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266 upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200 monitor_baud = 115200
[env:quinled]
[env:intermittech-quinled]
platform = ${common.platform} platform = ${common.platform}
framework = arduino framework = arduino
board = esp01_1m board = esp01_1m
board_flash_mode = dout board_flash_mode = dout
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_1m} -DQUINLED
build_flags = ${common.build_flags_1m} -DINTERMITTECH_QUINLED
monitor_baud = 115200 monitor_baud = 115200
[env:quinled-ota]
[env:intermittech-quinled-ota]
platform = ${common.platform} platform = ${common.platform}
framework = arduino framework = arduino
board = esp01_1m board = esp01_1m
board_flash_mode = dout board_flash_mode = dout
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_1m} -DQUINLED
build_flags = ${common.build_flags_1m} -DINTERMITTECH_QUINLED
upload_speed = 115200 upload_speed = 115200
upload_port = "192.168.4.1" upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266 upload_flags = --auth=fibonacci --port 8266


Loading…
Cancel
Save