diff --git a/pkg/flashdb/mtd/fal_mtd_port.c b/pkg/flashdb/mtd/fal_mtd_port.c index 248cf01859..1163aced4f 100644 --- a/pkg/flashdb/mtd/fal_mtd_port.c +++ b/pkg/flashdb/mtd/fal_mtd_port.c @@ -17,14 +17,13 @@ * @] */ +#include "macros/utils.h" #include "mtd.h" #include #include #include -#define MIN(a, b) ((a) > (b) ? (b) : (a)) - static mtd_dev_t *_mtd; static int _read(long offset, uint8_t *buf, size_t size)