Index: trunk/ippTools/src/p2updatePending.c
===================================================================
--- trunk/ippTools/src/p2updatePending.c	(revision 6210)
+++ trunk/ippTools/src/p2updatePending.c	(revision 6261)
@@ -9,9 +9,9 @@
 
     // select all of the exposures which are still pending
-    psMetadataAddS32 (where, PS_LIST_TAIL, "STATE", 0, "==", P2_MODE_PENDING);
+    psMetadataAddS32 (where, PS_LIST_TAIL, "STATE", 0, "==", PX_MODE_PENDING);
     psArray *exposures = p2PendingExpSelectRowObjects (config->database, where, MAX_ROWS);
 
     // we will now select all of the matching images which are done
-    psMetadataAddS32 (where, PS_LIST_TAIL, "STATE", PS_META_REPLACE, "==", P2_MODE_DONE);
+    psMetadataAddS32 (where, PS_LIST_TAIL, "STATE", PS_META_REPLACE, "==", PX_MODE_DONE);
     for (int i = 0; i < exposures->n; i++) {
 	p2PendingExpRow *exposure = exposures->data[i];
@@ -27,5 +27,5 @@
 	// frame is complete, set exposure state to done
 	// XXX add P2 stats here?
-//	exposure->state = P2_MODE_DONE;
+//	exposure->state = PX_MODE_DONE;
 //	p2PendingExposureUpdateRows (config->database, exposure);
     }
