Merge pull request #542 from tekka007/ParentNode

Verify MY_PARENT_NODE_ID if parent is set static
This commit is contained in:
Henrik Ekblad
2016-08-06 10:19:46 +02:00
committed by GitHub
+4
View File
@@ -286,6 +286,10 @@
#endif
#endif
#if defined(MY_PARENT_NODE_IS_STATIC) && (MY_PARENT_NODE_ID == AUTO)
#error Parent is static but no parent ID defined.
#endif
// Make sure to disable child features when parent feature is disabled
#if !defined(MY_RADIO_FEATURE)
#undef MY_OTA_FIRMWARE_FEATURE