diff options
-rw-r--r-- | camlibs/spca50x/spca50x-sdram.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/camlibs/spca50x/spca50x-sdram.c b/camlibs/spca50x/spca50x-sdram.c index 7a2900008..eee07d974 100644 --- a/camlibs/spca50x/spca50x-sdram.c +++ b/camlibs/spca50x/spca50x-sdram.c @@ -97,7 +97,8 @@ spca50x_sdram_get_fat_page (CameraPrivateLibrary * lib, int index, SPCA50X_FAT_PAGE_SIZE, p)); break; default: - break; + gp_log(GP_LOG_ERROR, "spca50x", "spca50x_sdram_get_fat_page: dramtype %d unhandled", dramtype); + return GP_ERROR; } return GP_OK; |