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. */