# HG changeset patch # User heinrichsweikamp # Date 1347259376 -7200 # Node ID 242139da29f25f5c5d9724c9b0b7aaa3b9b1f484 # Parent 41df16e18b2b4178a4c102198667aa66ccc5d5c1 save stop time instead of stop depth in char_O_deco_time_for_log diff -r 41df16e18b2b -r 242139da29f2 code_part1/OSTC_code_c_part2/p2_deco.c --- a/code_part1/OSTC_code_c_part2/p2_deco.c Sat Sep 08 20:33:51 2012 +0200 +++ b/code_part1/OSTC_code_c_part2/p2_deco.c Mon Sep 10 08:42:56 2012 +0200 @@ -680,7 +680,7 @@ for(y=0; y<NUM_STOPS; y++, --x) { char_O_deco_depth[y] = internal_deco_depth[x]; - char_O_deco_time_for_log[y] = internal_deco_depth[x]; + char_O_deco_time_for_log[y] = internal_deco_time [x]; char_O_deco_time [y] = internal_deco_time [x]; // Stop only once the last transfer is done. @@ -713,7 +713,7 @@ //---- Second: copy to output table (in reverse order) for(y=0; y<NUM_STOPS; y++, --x) { - char_O_deco_time_for_log[y] = internal_deco_depth[x]; + char_O_deco_time_for_log[y] = internal_deco_time [x]; // Stop only once the last transfer is done. if( x == 0 ) break; diff -r 41df16e18b2b -r 242139da29f2 code_part1/OSTC_code_c_part2/p2_deco.o Binary file code_part1/OSTC_code_c_part2/p2_deco.o has changed