Index: trunk/psModules/src/camera/pmFPACopy.c
===================================================================
--- trunk/psModules/src/camera/pmFPACopy.c	(revision 7624)
+++ trunk/psModules/src/camera/pmFPACopy.c	(revision 7717)
@@ -32,18 +32,18 @@
 }
 
-static pmHDU *findPHU(const pmCell *cell// The cell for which to find the PHU
-                     )
+static pmHDU *findBlankPHU(const pmCell *cell// The cell for which to find the PHU
+                          )
 {
     assert(cell);
 
-    if (cell->hdu && cell->hdu->phu) {
+    if (cell->hdu && cell->hdu->blankPHU) {
         return cell->hdu;
     }
     pmChip *chip = cell->parent;        // The parent chip
-    if (chip->hdu && chip->hdu->phu) {
+    if (chip->hdu && chip->hdu->blankPHU) {
         return chip->hdu;
     }
     pmFPA *fpa = chip->parent;  // The parent FPA
-    if (fpa->hdu && fpa->hdu->phu) {
+    if (fpa->hdu && fpa->hdu->blankPHU) {
         return fpa->hdu;
     }
@@ -261,7 +261,7 @@
     }
     // Copy the PHU over as well, if required
-    pmHDU *targetPHU = findPHU(target); // The target PHU
+    pmHDU *targetPHU = findBlankPHU(target); // The target PHU
     if (targetPHU && targetPHU != targetHDU && !targetPHU->header) {
-        pmHDU *sourcePHU = findPHU(source); // The source PHU
+        pmHDU *sourcePHU = findBlankPHU(source); // The source PHU
         targetPHU->header = psMetadataCopy(targetPHU->header, sourcePHU->header);
     }
