changeset 633:242139da29f2

save stop time instead of stop depth in char_O_deco_time_for_log
author heinrichsweikamp
date Mon, 10 Sep 2012 08:42:56 +0200
parents 41df16e18b2b
children 6cbdfd1b9dcf
files code_part1/OSTC_code_c_part2/p2_deco.c code_part1/OSTC_code_c_part2/p2_deco.o
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;
Binary file code_part1/OSTC_code_c_part2/p2_deco.o has changed