From 6b8fe5e03bc6b9a568527f984e6c00780f68b39e Mon Sep 17 00:00:00 2001
From: Florian Kaltenberger <florian.kaltenberger@eurecom.fr>
Date: Tue, 17 Sep 2013 16:43:56 +0000
Subject: [PATCH] added additional value autocal=2 to use calibration values
 from pcie interface

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4154 818b1a75-f10b-46b9-bf7c-635c3b92a50f
---
 targets/ARCH/EXMIMO/USERSPACE/OCTAVE/oarf_config_exmimo.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/targets/ARCH/EXMIMO/USERSPACE/OCTAVE/oarf_config_exmimo.cc b/targets/ARCH/EXMIMO/USERSPACE/OCTAVE/oarf_config_exmimo.cc
index 2bae21db2aa..fdef4b1e5ae 100644
--- a/targets/ARCH/EXMIMO/USERSPACE/OCTAVE/oarf_config_exmimo.cc
+++ b/targets/ARCH/EXMIMO/USERSPACE/OCTAVE/oarf_config_exmimo.cc
@@ -234,9 +234,9 @@ static bool any_bad_argument(const octave_value_list &args)
     {
       for (i=0;i<v.columns();i++)
         {
-	  if ((v.row_vector_value()(i)<0.0) || (v.row_vector_value()(i)>1.0)) {
+	  if ((v.row_vector_value()(i)<0.0) || (v.row_vector_value()(i)>2.0)) {
 	    error(FCNNAME);
-	    error("autocal %d must be 0 or 1 (got %f).",i,v.row_vector_value()(i));
+	    error("autocal %d must be 0 or 2 (got %f).",i,v.row_vector_value()(i));
 	    return true;
 	  }
         }
-- 
GitLab