Skip to content

Commit d245758

Browse files
committed
[fix] Broken build from version 1.5.3 to 1.5.5
1 parent a6d1090 commit d245758

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/openzwave-groups.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ namespace OZW {
157157
);
158158
}
159159

160-
#ifdef OPENZWAVE_16
160+
#if OPENZWAVE_16
161161
/*
162162
*
163163
*/

src/openzwave-nodes.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ namespace OZW {
9393
OZWManager( SwitchAllOff, homeid);
9494
}
9595
#endif
96-
#ifdef OPENZWAVE_16
96+
#if OPENZWAVE_16
9797
// ===================================================================
9898
NAN_METHOD(OZW::SendRawData)
9999
// ===================================================================

src/openzwave.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ namespace OZW {
8181
Nan::SetPrototypeMethod(t, "getGroupLabel", OZW::GetGroupLabel);
8282
Nan::SetPrototypeMethod(t, "addAssociation", OZW::AddAssociation);
8383
Nan::SetPrototypeMethod(t, "removeAssociation", OZW::RemoveAssociation);
84-
#ifdef OPENZWAVE_16
84+
#if OPENZWAVE_16
8585
Nan::SetPrototypeMethod(t, "isMultiInstance", OZW::IsMultiInstance);
8686
#endif
8787

@@ -125,7 +125,7 @@ namespace OZW {
125125
Nan::SetPrototypeMethod(t, "switchAllOn", OZW::SwitchAllOn);
126126
Nan::SetPrototypeMethod(t, "switchAllOff", OZW::SwitchAllOff);
127127
#endif
128-
#ifdef OPENZWAVE_16
128+
#if OPENZWAVE_16
129129
Nan::SetPrototypeMethod(t, "sendRawData", OZW::SendRawData);
130130
#endif
131131
Nan::SetPrototypeMethod(t, "pressButton", OZW::PressButton);

src/openzwave.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ namespace OZW {
7777
static NAN_METHOD(GetGroupLabel);
7878
static NAN_METHOD(AddAssociation);
7979
static NAN_METHOD(RemoveAssociation);
80-
#ifdef OPENZWAVE_16
80+
#if OPENZWAVE_16
8181
static NAN_METHOD(IsMultiInstance);
8282
#endif
8383
#if OPENZWAVE_SECURITY == 1
@@ -119,7 +119,7 @@ namespace OZW {
119119
static NAN_METHOD(SwitchAllOn);
120120
static NAN_METHOD(SwitchAllOff);
121121
#endif
122-
#ifdef OPENZWAVE_16
122+
#if OPENZWAVE_16
123123
static NAN_METHOD(SendRawData);
124124
#endif
125125
static NAN_METHOD(PressButton);

src/utils.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,8 @@ namespace OZW {
275275
AddStringProp (nodeobj, type, value.GetTypeAsString());
276276
AddStringProp (nodeobj, genre, value.GetGenreAsString());
277277
#elif OPENZWAVE_VALUETYPE_FROM_ENUM
278-
AddStringProp (nodeobj, type, OpenZWave::Internal::VC::ValueList::GetTypeNameFromEnum(value.GetType()));
279-
AddStringProp (nodeobj, genre, OpenZWave::Internal::VC::ValueList::GetGenreNameFromEnum(value.GetGenre()));
278+
AddStringProp (nodeobj, type, OpenZWave::Value::GetTypeNameFromEnum(value.GetType()));
279+
AddStringProp (nodeobj, genre, OpenZWave::Value::GetGenreNameFromEnum(value.GetGenre()));
280280
#else
281281
AddIntegerProp(nodeobj, type, value.GetType());
282282
AddIntegerProp(nodeobj, genre, value.GetGenre());

0 commit comments

Comments
 (0)