diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-09-22 18:28:42 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-09-22 18:28:42 +0000 |
commit | eea7432ba4a196ccbaba981b96af8ff8af0d86d0 (patch) | |
tree | 5b9333e8a64953bc8baa2e09d08edeb3a24ec589 /apps/graphics/tiff/tiff_addstrip.c | |
parent | 742308f3e3646dd27ef9679ba2ae8756a2a64f7c (diff) | |
download | nuttx-eea7432ba4a196ccbaba981b96af8ff8af0d86d0.tar.gz nuttx-eea7432ba4a196ccbaba981b96af8ff8af0d86d0.tar.bz2 nuttx-eea7432ba4a196ccbaba981b96af8ff8af0d86d0.zip |
TIFF library now passes its unit test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3970 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/graphics/tiff/tiff_addstrip.c')
-rw-r--r-- | apps/graphics/tiff/tiff_addstrip.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/graphics/tiff/tiff_addstrip.c b/apps/graphics/tiff/tiff_addstrip.c index 165eec5ae..fa2a50e72 100644 --- a/apps/graphics/tiff/tiff_addstrip.c +++ b/apps/graphics/tiff/tiff_addstrip.c @@ -144,7 +144,9 @@ int tiff_convstrip(FAR struct tiff_info_s *info, FAR const uint8_t *strip) /* Flush any buffer data to tmpfile2 */ ret = tiff_write(info->tmp2fd, info->iobuffer, nbytes); - DEBUGASSERT(ntotal == info->bps); +#ifdef CONFIG_DEBUG_GRAPHICS + ASSERT(ntotal == info->bps); +#endif return ret; } |