Tidy up duplication of MIN/MAX fallback implementations (#20236)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user