diff options
author | Joel Challis <git@zvecr.com> | 2023-03-23 05:30:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-23 05:30:30 +0000 |
commit | b01dc36fbf09c3ebf8efe1bac54205ace1b1c6cc (patch) | |
tree | dacbffac9d1918eb8962f631517cfec544adb965 /platforms/arm_atsam | |
parent | 42aa83787fd0d3a5acd0ac7fbe7d148648be742d (diff) |
Tidy up duplication of MIN/MAX fallback implementations (#20236)
Diffstat (limited to 'platforms/arm_atsam')
-rw-r--r-- | platforms/arm_atsam/eeprom_samd.c | 5 |
1 files changed, 1 insertions, 4 deletions
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 |