From 49f91f6a14dbe4cee94d5c16621774b5992d93cf Mon Sep 17 00:00:00 2001 From: asterix Date: Wed, 11 Aug 2010 14:43:42 +0000 Subject: [PATCH] Typo. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4168 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/cortex-m3/drv/flash_stm32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bertos/cpu/cortex-m3/drv/flash_stm32.c b/bertos/cpu/cortex-m3/drv/flash_stm32.c index a90bc95c..d3e82b28 100644 --- a/bertos/cpu/cortex-m3/drv/flash_stm32.c +++ b/bertos/cpu/cortex-m3/drv/flash_stm32.c @@ -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); -- 2.25.1