Merge pull request #231 from mysensors/fix-MY_SIGNING_REQUEST_SIGNATURES-problem
Fix MY_SIGNING_REQUEST_SIGNATURES compile error
This commit is contained in:
@@ -28,8 +28,10 @@
|
|||||||
#define MY_IS_GATEWAY (true)
|
#define MY_IS_GATEWAY (true)
|
||||||
#define MY_NODE_TYPE "gateway"
|
#define MY_NODE_TYPE "gateway"
|
||||||
#elif defined(MY_REPEATER_FEATURE)
|
#elif defined(MY_REPEATER_FEATURE)
|
||||||
|
#define MY_IS_GATEWAY (false)
|
||||||
#define MY_NODE_TYPE "repeater"
|
#define MY_NODE_TYPE "repeater"
|
||||||
#else
|
#else
|
||||||
|
#define MY_IS_GATEWAY (false)
|
||||||
#define MY_NODE_TYPE "sensor"
|
#define MY_NODE_TYPE "sensor"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ inline void transportProcess() {
|
|||||||
#ifdef MY_SIGNING_REQUEST_SIGNATURES
|
#ifdef MY_SIGNING_REQUEST_SIGNATURES
|
||||||
|
|
||||||
if ((!MY_IS_GATEWAY || DO_SIGN(sender)) &&
|
if ((!MY_IS_GATEWAY || DO_SIGN(sender)) &&
|
||||||
destination == nc.nodeId &&
|
destination == _nc.nodeId &&
|
||||||
mGetLength(_msg) &&
|
mGetLength(_msg) &&
|
||||||
!mGetAck(_msg) &&
|
!mGetAck(_msg) &&
|
||||||
(mGetCommand(_msg) != C_INTERNAL ||
|
(mGetCommand(_msg) != C_INTERNAL ||
|
||||||
|
|||||||
Reference in New Issue
Block a user