- Timestamp:
- Oct 29, 2012, 2:26:09 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20120906/ppSkycell/src/ppSkycellCamera.c
r28375 r34623 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) { 112 psError(psErrorCodeLast(), false, "Unable to define output."); 113 return false; 114 } 115 if (!pmFPAfileDefineOutput(data->config, bin1->fpa , "PPSKYCELL.BIN1.MASK")) { 116 psError(psErrorCodeLast(), false, "Unable to define output."); 117 return false; 118 } 119 if (!pmFPAfileDefineOutput(data->config, bin2->fpa, "PPSKYCELL.BIN2.MASK")) { 110 120 psError(psErrorCodeLast(), false, "Unable to define output."); 111 121 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
