Typo.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 11 Aug 2010 14:43:42 +0000 (14:43 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 11 Aug 2010 14:43:42 +0000 (14:43 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4168 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/cpu/cortex-m3/drv/flash_stm32.c

index a90bc95cc1f66eacffced954b4c489cc43d96984..d3e82b28b5f379d0a1058f7eb152e26e1c84af91 100644 (file)
@@ -146,7 +146,7 @@ static void stm32_flash_clearerror(struct KBlock *blk)
 
 static size_t stm32_flash_readDirect(struct KBlock *blk, block_idx_t idx, void *buf, size_t offset, size_t size)
 {
-       ASSERT(offest == 0);
+       ASSERT(offset == 0);
        ASSERT(size == blk->blk_size);
 
        memcpy(buf, (void *)(idx * blk->blk_size), size);