diff code_part1/OSTC_code_c_part2/p2_deco.c @ 554:896b6346ccd2

CHANGE: Allow up to 96h desat when computing NoFly (OSTC Planner).
author JeanDo
date Fri, 10 Feb 2012 16:23:41 +0100
parents 6626a6c4eda3
children 43296991c283
line wrap: on
line diff
--- a/code_part1/OSTC_code_c_part2/p2_deco.c	Tue Feb 07 13:26:41 2012 +0100
+++ b/code_part1/OSTC_code_c_part2/p2_deco.c	Fri Feb 10 16:23:41 2012 +0100
@@ -2298,11 +2298,11 @@
     RESET_C_STACK
 
     assert( 60 <= char_I_temp && char_I_temp <= 100 );
-    assert(  0 <= int_I_temp  && int_I_temp  < 2880 );      // Less than 48h...
+    assert(  0 <= int_I_temp  && int_I_temp  < 5760 );      // Less than 4 days = 96h...
 
     int_I_temp = (unsigned short)(((float)int_I_temp * (float)char_I_temp) * 0.01 );
 
-    assert( int_I_temp < 2880 );                            // Less than 48h...
+    assert( int_I_temp < 5760 );                            // Less than 96h too...
 }