paparazzi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paparazzi-commits] [4769] remove debug message


From: Pascal Brisset
Subject: [paparazzi-commits] [4769] remove debug message
Date: Tue, 30 Mar 2010 15:06:35 +0000

Revision: 4769
          http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=4769
Author:   hecto
Date:     2010-03-30 15:06:34 +0000 (Tue, 30 Mar 2010)
Log Message:
-----------
 remove debug message

Modified Paths:
--------------
    paparazzi3/trunk/sw/lib/ocaml/pprz.ml

Modified: paparazzi3/trunk/sw/lib/ocaml/pprz.ml
===================================================================
--- paparazzi3/trunk/sw/lib/ocaml/pprz.ml       2010-03-30 13:34:37 UTC (rev 
4768)
+++ paparazzi3/trunk/sw/lib/ocaml/pprz.ml       2010-03-30 15:06:34 UTC (rev 
4769)
@@ -238,10 +238,8 @@
   | Scalar "int8" -> Int (int8_of_bytes buffer index), sizeof _type
   | Scalar "uint16" -> Int (Char.code buffer.[index+1] lsl 8 + Char.code 
buffer.[index]), sizeof _type
   | Scalar "int16" -> Int (int16_of_bytes buffer index), sizeof _type
-  | Scalar "float" ->  Float (float_of_bytes buffer index), sizeof _type
-  | Scalar "double" ->  
-      fprintf stderr "%s\n%!" (Debug.xprint (String.sub buffer index 8));
-Float (double_of_bytes buffer index), sizeof _type
+  | Scalar "float" -> Float (float_of_bytes buffer index), sizeof _type
+  | Scalar "double" -> Float (double_of_bytes buffer index), sizeof _type
   | Scalar ("int32"  | "uint32") -> Int32 (int32_of_bytes buffer index), 
sizeof _type
   | ArrayType t ->
       (** First get the number of values *)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]