From b01dc36fbf09c3ebf8efe1bac54205ace1b1c6cc Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Thu, 23 Mar 2023 05:30:30 +0000 Subject: Tidy up duplication of MIN/MAX fallback implementations (#20236) --- platforms/arm_atsam/eeprom_samd.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'platforms/arm_atsam') diff --git a/platforms/arm_atsam/eeprom_samd.c b/platforms/arm_atsam/eeprom_samd.c index 1c1e031e5d..9c42041f2d 100644 --- a/platforms/arm_atsam/eeprom_samd.c +++ b/platforms/arm_atsam/eeprom_samd.c @@ -15,15 +15,12 @@ */ #include "eeprom.h" #include "debug.h" +#include "util.h" #include "samd51j18a.h" #include "core_cm4.h" #include "component/nvmctrl.h" #include "eeprom_samd.h" -#ifndef MAX -# define MAX(X, Y) ((X) > (Y) ? (X) : (Y)) -#endif - #ifndef BUSY_RETRIES # define BUSY_RETRIES 10000 #endif -- cgit v1.2.3