From 8a6bcce16fba8ab1a5494739caeeae79429ef37b Mon Sep 17 00:00:00 2001
From: gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>
Date: Tue, 14 Jul 2015 16:53:23 +0000
Subject: Modified license details, unlocked TM module for free commercial
 license.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8095 35acf78f-673a-0410-8e92-d51de3d6d3f4
---
 os/rt/include/chlicense.h | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

(limited to 'os')

diff --git a/os/rt/include/chlicense.h b/os/rt/include/chlicense.h
index 8f1e7bb6d..254e6e930 100644
--- a/os/rt/include/chlicense.h
+++ b/os/rt/include/chlicense.h
@@ -144,10 +144,9 @@
 #define CH_LICENSE_MAX_DEPLOY               CH_DEPLOY_UNLIMITED
 
 #elif CH_LICENSE == CH_LICENSE_COMMERCIAL_FREE
-#include "chcustomer.h"
 #define CH_LICENSE_TYPE_STRING              "Zero Cost Registered License"
-#define CH_LICENSE_ID_STRING                CH_CUSTOMER_ID_STRING
-#define CH_LICENSE_ID_CODE                  CH_CUSTOMER_ID_CODE
+#define CH_LICENSE_ID_STRING                "N/A"
+#define CH_LICENSE_ID_CODE                  "2015-0000"
 #define CH_LICENSE_MODIFIABLE_CODE          FALSE
 #define CH_LICENSE_FEATURES                 CH_FEATURES_INTERMEDIATE
 #define CH_LICENSE_MAX_DEPLOY               500
@@ -194,10 +193,6 @@
     #error "CH_CFG_ST_TIMEDELTA > 2, High Resolution Time functionality restricted"
   #endif
 
-  #if CH_CFG_USE_TM == TRUE
-    #error "CH_CFG_USE_TM == TRUE, Time Measurement functionality restricted"
-  #endif
-
   #if CH_DBG_STATISTICS == TRUE
     #error "CH_DBG_STATISTICS == TRUE, Statistics functionality restricted"
   #endif
@@ -208,6 +203,10 @@
       #error "CH_CFG_ST_TIMEDELTA > 0, Tick-Less functionality restricted"
     #endif
 
+    #if CH_CFG_USE_TM == TRUE
+      #error "CH_CFG_USE_TM == TRUE, Time Measurement functionality restricted"
+    #endif
+
     #if CH_CFG_USE_MUTEXES_RECURSIVE == TRUE
       #error "CH_CFG_USE_MUTEXES_RECURSIVE == TRUE, Recursive Mutexes functionality restricted"
     #endif
-- 
cgit v1.2.3