From 10ff7de6acc7392a4cb853e5d467a43489d22e44 Mon Sep 17 00:00:00 2001 From: armink Date: Fri, 15 Nov 2019 13:38:08 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=9B=B4=E6=96=B0=E3=80=91=E7=A7=BB?= =?UTF-8?q?=E6=A4=8D=E6=96=87=E4=BB=B6=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: armink --- easyflash/port/ef_port.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/easyflash/port/ef_port.c b/easyflash/port/ef_port.c index 266e418..26dc551 100644 --- a/easyflash/port/ef_port.c +++ b/easyflash/port/ef_port.c @@ -1,7 +1,7 @@ /* * This file is part of the EasyFlash Library. * - * Copyright (c) 2015, Armink, + * Copyright (c) 2015-2019, Armink, * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the @@ -64,8 +64,6 @@ EfErrCode ef_port_init(ef_env const **default_env, size_t *default_env_size) { EfErrCode ef_port_read(uint32_t addr, uint32_t *buf, size_t size) { EfErrCode result = EF_NO_ERR; - EF_ASSERT(size % 4 == 0); - /* You can add your code under here. */ return result; @@ -104,8 +102,6 @@ EfErrCode ef_port_erase(uint32_t addr, size_t size) { */ EfErrCode ef_port_write(uint32_t addr, const uint32_t *buf, size_t size) { EfErrCode result = EF_NO_ERR; - - EF_ASSERT(size % 4 == 0); /* You can add your code under here. */