changeset 860:7d4f080f66db

fc-add-ramps: actually produce correct output
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 18 Dec 2021 21:17:33 +0000
parents e5ef798e2d35
children cc621af29b74
files ffstools/caltools/fc-add-ramps.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ffstools/caltools/fc-add-ramps.c	Sat Dec 18 21:15:21 2021 +0000
+++ b/ffstools/caltools/fc-add-ramps.c	Sat Dec 18 21:17:33 2021 +0000
@@ -46,8 +46,8 @@
 	unsigned n;
 
 	for (n = 0; n < 16; n++) {
-		printf("Template #%u ramp-up sum:   %u\n", sums[n*2]);
-		printf("Template #%u ramp-down sum: %u\n", sums[n*2+1]);
+		printf("Template #%u ramp-up sum:   %u\n", n, sums[n*2]);
+		printf("Template #%u ramp-down sum: %u\n", n, sums[n*2+1]);
 	}
 }