Browse Source

hw: rename zhilde eu44 -> 44eu (#2349)

mcspr-patch-1
Max Prokhorov 4 years ago
committed by GitHub
parent
commit
ee1f56ad4b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 10 deletions
  1. +1
    -1
      code/espurna/board.cpp
  2. +2
    -2
      code/espurna/config/arduino.h
  3. +3
    -3
      code/espurna/config/hardware.h
  4. +2
    -2
      code/platformio.ini
  5. +2
    -2
      code/platformio_ota.ini

+ 1
- 1
code/espurna/board.cpp View File

@ -568,7 +568,7 @@ int getBoardId() {
return 96; return 96;
#elif defined(HELTEC_TOUCHRELAY) #elif defined(HELTEC_TOUCHRELAY)
return 97; return 97;
#elif defined(ZHILDE_EU44_W)
#elif defined(ZHILDE_44EU_W)
return 98; return 98;
#elif defined(ALLNET_4DUINO_IOT_WLAN_RELAIS) #elif defined(ALLNET_4DUINO_IOT_WLAN_RELAIS)
return 99; return 99;


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

@ -177,8 +177,8 @@
//#define YJZK_SWITCH_1CH //#define YJZK_SWITCH_1CH
//#define YJZK_SWITCH_2CH //#define YJZK_SWITCH_2CH
//#define YJZK_SWITCH_3CH //#define YJZK_SWITCH_3CH
//#define ZHILDE_EU44_W
//#define ZHILDE_EU64_W
//#define ZHILDE_44EU_W
//#define ZHILDE_64EU_W
//-------------------------------------------------------------------------------- //--------------------------------------------------------------------------------
// Features (values below are non-default values) // Features (values below are non-default values)


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

@ -2723,15 +2723,15 @@
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
// Zhilde ZLD-EU44-W
// Zhilde ZLD-44EU-W
// http://www.zhilde.com/product/60705150109-805652505/EU_WiFi_Surge_Protector_Extension_Socket_4_Outlets_works_with_Amazon_Echo_Smart_Power_Strip.html // http://www.zhilde.com/product/60705150109-805652505/EU_WiFi_Surge_Protector_Extension_Socket_4_Outlets_works_with_Amazon_Echo_Smart_Power_Strip.html
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
#elif defined(ZHILDE_EU44_W)
#elif defined(ZHILDE_44EU_W)
// Info // Info
#define MANUFACTURER "ZHILDE" #define MANUFACTURER "ZHILDE"
#define DEVICE "EU44_W"
#define DEVICE "44EU_W"
// Based on the reporter, this product uses GPIO1 and 3 for the button // Based on the reporter, this product uses GPIO1 and 3 for the button
// and onboard LED, so hardware serial should be disabled... // and onboard LED, so hardware serial should be disabled...


+ 2
- 2
code/platformio.ini View File

@ -765,9 +765,9 @@ src_build_flags = -DIKE_ESPIKE
extends = env:esp8266-4m-base extends = env:esp8266-4m-base
src_build_flags = -DARNIEX_SWIFITCH src_build_flags = -DARNIEX_SWIFITCH
[env:zhilde-eu44-w]
[env:zhilde-44eu-w]
extends = env:esp8266-1m-base extends = env:esp8266-1m-base
src_build_flags = -DZHILDE_EU44_W
src_build_flags = -DZHILDE_44EU_W
[env:zhilde-64eu-w] [env:zhilde-64eu-w]
extends = env:esp8266-1m-base extends = env:esp8266-1m-base


+ 2
- 2
code/platformio_ota.ini View File

@ -270,8 +270,8 @@ extends = env:ike-espike
[env:arniex-swifitch-ota] [env:arniex-swifitch-ota]
extends = env:arniex-swifitch extends = env:arniex-swifitch
[env:zhilde-eu44-w-ota]
extends = env:zhilde-eu44-w
[env:zhilde-44eu-w-ota]
extends = env:zhilde-44eu-w
[env:zhilde-64eu-w-ota] [env:zhilde-64eu-w-ota]
extends = env:zhilde-64eu-w extends = env:zhilde-64eu-w


Loading…
Cancel
Save