libtuning: Handle cases, where no lsc tuning images are present
Make it clear that no lsc calibration was done by returning None instead of a incomplete configuration. Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
This commit is contained in:
parent
721b976928
commit
54a8405726
1 changed files with 3 additions and 0 deletions
|
@ -107,6 +107,9 @@ class LSCRkISP1(LSC):
|
|||
|
||||
output['sets'] = self._do_all_lsc(images)
|
||||
|
||||
if len(output['sets']) == 0:
|
||||
return None
|
||||
|
||||
# \todo Validate images from greyscale camera and force grescale mode
|
||||
# \todo Debug functionality
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue