diff options
Diffstat (limited to 'os/nil')
-rw-r--r-- | os/nil/include/ch.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/os/nil/include/ch.h b/os/nil/include/ch.h index 06620573a..b5da42aac 100644 --- a/os/nil/include/ch.h +++ b/os/nil/include/ch.h @@ -418,6 +418,11 @@ /* Derived constants and error checks. */
/*===========================================================================*/
+/* License checks.*/
+#if !defined(CH_CUSTOMER_LIC_NIL) || !defined(CH_LICENSE_FEATURES)
+#error "malformed chlicense.h"
+#endif
+
#if CH_CUSTOMER_LIC_NIL == FALSE
#error "ChibiOS/NIL not licensed"
#endif
|