Skip to content

Commit

Permalink
hw: rename zhilde eu44 -> 44eu (xoseperez#2349)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcspr authored Sep 9, 2020
1 parent b8b8ca8 commit ee1f56a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion code/espurna/board.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ int getBoardId() {
return 96;
#elif defined(HELTEC_TOUCHRELAY)
return 97;
#elif defined(ZHILDE_EU44_W)
#elif defined(ZHILDE_44EU_W)
return 98;
#elif defined(ALLNET_4DUINO_IOT_WLAN_RELAIS)
return 99;
Expand Down
4 changes: 2 additions & 2 deletions code/espurna/config/arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@
//#define YJZK_SWITCH_1CH
//#define YJZK_SWITCH_2CH
//#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)
Expand Down
6 changes: 3 additions & 3 deletions code/espurna/config/hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
// -----------------------------------------------------------------------------

#elif defined(ZHILDE_EU44_W)
#elif defined(ZHILDE_44EU_W)

// Info
#define MANUFACTURER "ZHILDE"
#define DEVICE "EU44_W"
#define DEVICE "44EU_W"

// Based on the reporter, this product uses GPIO1 and 3 for the button
// and onboard LED, so hardware serial should be disabled...
Expand Down
4 changes: 2 additions & 2 deletions code/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -765,9 +765,9 @@ src_build_flags = -DIKE_ESPIKE
extends = env:esp8266-4m-base
src_build_flags = -DARNIEX_SWIFITCH

[env:zhilde-eu44-w]
[env:zhilde-44eu-w]
extends = env:esp8266-1m-base
src_build_flags = -DZHILDE_EU44_W
src_build_flags = -DZHILDE_44EU_W

[env:zhilde-64eu-w]
extends = env:esp8266-1m-base
Expand Down
4 changes: 2 additions & 2 deletions code/platformio_ota.ini
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@ extends = env:ike-espike
[env:arniex-swifitch-ota]
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]
extends = env:zhilde-64eu-w
Expand Down

0 comments on commit ee1f56a

Please sign in to comment.