*** empty log message ***

This commit is contained in:
Antoine Drouin
2005-02-28 18:58:47 +00:00
parent b70035be8b
commit a7fd8b5c94
10 changed files with 68 additions and 60 deletions
+2 -1
View File
@@ -80,7 +80,8 @@ let _ =
define "RADIO_NEUTRALS_US" (sprint_float_array (List.map (fun x -> x.neutral) channels_params));
define "RADIO_MAXS_US" (sprint_float_array (List.map (fun x -> x.max) channels_params));
define "RADIO_AVERAGED" (sprint_float_array (List.map (fun x -> x.averaged) channels_params));
define "RADIO_NEUTRALS_PPM" (sprint_float_array (List.map (fun x -> string_of_int ((int_of_string x.neutral)*16)) channels_params));
define "RADIO_TRAVEL_PPM" (sprint_float_array (List.map (fun x -> string_of_float (9600. *. 2. /. (float ((int_of_string x.max) - (int_of_string x.min))) /. 16.)) channels_params));
nl ();
define "AveragedChannel(ch)" "(((int[])RADIO_AVERAGED)[ch])";