Changeset 34800 for trunk/ppSkycell/src/ppSkycellCamera.c
- Timestamp:
- Dec 11, 2012, 2:04:31 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppSkycell/src/ppSkycellCamera.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
trunk/ppSkycell/src/ppSkycellCamera.c
r28375 r34800 103 103 return false; 104 104 } 105 if (!pmFPAfileDefineOutput(data->config, NULL, "PPSKYCELL.BIN1")) { 105 pmFPAfile *bin1 = pmFPAfileDefineOutput(data->config, NULL, "PPSKYCELL.BIN1"); 106 if (!bin1) { 106 107 psError(psErrorCodeLast(), false, "Unable to define output."); 107 108 return false; 108 109 } 109 if (!pmFPAfileDefineOutput(data->config, NULL, "PPSKYCELL.BIN2")) { 110 pmFPAfile *bin2 = pmFPAfileDefineOutput(data->config, NULL, "PPSKYCELL.BIN2"); 111 if (!bin2) { 110 112 psError(psErrorCodeLast(), false, "Unable to define output."); 111 113 return false; 114 } 115 if (data->masksName) { 116 pmFPAfile *mask1 = pmFPAfileDefineOutput(data->config, bin1->fpa , "PPSKYCELL.BIN1.MASK"); 117 if (!mask1) { 118 psError(psErrorCodeLast(), false, "Unable to define output."); 119 return false; 120 } 121 mask1->save = true; 122 pmFPAfile *mask2 = pmFPAfileDefineOutput(data->config, bin2->fpa , "PPSKYCELL.BIN2.MASK"); 123 if (!mask2) { 124 psError(psErrorCodeLast(), false, "Unable to define output."); 125 return false; 126 } 127 mask2->save = true; 112 128 } 113 129
Note:
See TracChangeset
for help on using the changeset viewer.
