Tidy up duplication of MIN/MAX fallback implementations (#20236)
This commit is contained in:
parent
42aa83787f
commit
b01dc36fbf
8 changed files with 7 additions and 32 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue