removed triple definition of MIN/MAX macros
This commit is contained in:
parent
5112ffd4d1
commit
7b55aed9ed
|
@ -1,8 +1,7 @@
|
|||
#include <stdint.h>
|
||||
|
||||
#include "sdcard_standard.h"
|
||||
|
||||
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
||||
#include "common/maths.h"
|
||||
|
||||
/**
|
||||
* Read a bitfield from an array of bits (the bit at index 0 being the most-significant bit of the first byte in
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
|
||||
#include "fat_standard.h"
|
||||
#include "drivers/sdcard.h"
|
||||
#include "common/maths.h"
|
||||
|
||||
#ifdef AFATFS_DEBUG
|
||||
#define ONLY_EXPOSE_FOR_TESTING
|
||||
|
@ -92,9 +93,6 @@
|
|||
|
||||
#define AFATFS_INTROSPEC_LOG_FILENAME "ASYNCFAT.LOG"
|
||||
|
||||
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
||||
#define MAX(a, b) ((a) > (b) ? (a) : (b))
|
||||
|
||||
typedef enum {
|
||||
AFATFS_SAVE_DIRECTORY_NORMAL,
|
||||
AFATFS_SAVE_DIRECTORY_FOR_CLOSE,
|
||||
|
|
Loading…
Reference in New Issue