Index: trunk/ppImage/src/ppImageLoop.c
===================================================================
--- trunk/ppImage/src/ppImageLoop.c	(revision 7508)
+++ trunk/ppImage/src/ppImageLoop.c	(revision 7522)
@@ -1,5 +1,5 @@
 # include "ppImage.h"
 
-bool ppImageLoop (ppImageOptions *options, pmConfig *config) {
+bool ppImageLoop (pmConfig *config, ppImageOptions *options) {
 
     bool status;
@@ -35,5 +35,5 @@
 
 		// perform the detrend analysis
-		ppImageDetrendReadout (options, config, view);
+		ppImageDetrendReadout (config, options, view);
 
 		if (options->doBin1) ppImageRebinReadout (config, view, "PPIMAGE.BIN1");
