Verify MY_PARENT_NODE_ID if parent is set static

This commit is contained in:
tekka007
2016-08-06 00:14:19 +02:00
parent 6bdde5b1ac
commit c5c8c92755
+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