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_NODE_TYPE "gateway"
|
||||
#elif defined(MY_REPEATER_FEATURE)
|
||||
#define MY_IS_GATEWAY (false)
|
||||
#define MY_NODE_TYPE "repeater"
|
||||
#else
|
||||
#define MY_IS_GATEWAY (false)
|
||||
#define MY_NODE_TYPE "sensor"
|
||||
#endif
|
||||
|
||||
|
||||
@@ -90,7 +90,7 @@ inline void transportProcess() {
|
||||
#ifdef MY_SIGNING_REQUEST_SIGNATURES
|
||||
|
||||
if ((!MY_IS_GATEWAY || DO_SIGN(sender)) &&
|
||||
destination == nc.nodeId &&
|
||||
destination == _nc.nodeId &&
|
||||
mGetLength(_msg) &&
|
||||
!mGetAck(_msg) &&
|
||||
(mGetCommand(_msg) != C_INTERNAL ||
|
||||
|
||||
Reference in New Issue
Block a user