- Timestamp:
- Feb 4, 2009, 11:07:14 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap_branch_20090128/psModules/src/camera/pmFPAWrite.c
r21270 r21287 500 500 PS_ASSERT_PTR_NON_NULL(cell, false); 501 501 PS_ASSERT_PTR_NON_NULL(fits, false); 502 return cellWrite(cell, fits, config, blank, FPA_WRITE_TYPE_VARIANCE); 502 if (!cellWrite(cell, fits, config, blank, FPA_WRITE_TYPE_VARIANCE)) { 503 return false; 504 } 505 if (!pmCellWriteCovariance(fits, cell)) { 506 return false; 507 } 508 return true; 503 509 } 504 510 … … 507 513 PS_ASSERT_PTR_NON_NULL(chip, false); 508 514 PS_ASSERT_PTR_NON_NULL(fits, false); 509 return chipWrite(chip, fits, config, blank, recurse, FPA_WRITE_TYPE_VARIANCE); 515 if (!chipWrite(chip, fits, config, blank, recurse, FPA_WRITE_TYPE_VARIANCE)) { 516 return false; 517 } 518 if (!pmChipWriteCovariance(fits, chip)) { 519 return false; 520 } 521 return true; 510 522 } 511 523 … … 514 526 PS_ASSERT_PTR_NON_NULL(fpa, false); 515 527 PS_ASSERT_PTR_NON_NULL(fits, false); 516 return fpaWrite(fpa, fits, config, blank, recurse, FPA_WRITE_TYPE_VARIANCE); 528 if (!fpaWrite(fpa, fits, config, blank, recurse, FPA_WRITE_TYPE_VARIANCE)) { 529 return false; 530 } 531 if (!pmFPAWriteCovariance(fits, fpa)) { 532 return false; 533 } 534 return true; 517 535 } 518 536
Note:
See TracChangeset
for help on using the changeset viewer.
