mirror of
https://github.com/apache/nuttx.git
synced 2026-05-25 09:45:55 +08:00
Fix ALIGN_UP duplicate definition error
ALIGN_UP has been defined in nuttx.h Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
This commit is contained in:
committed by
Xiang Xiao
parent
540036ab60
commit
d41e3da911
@@ -23,6 +23,8 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include <nuttx/nuttx.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <stdint.h>
|
||||
#include <assert.h>
|
||||
@@ -43,8 +45,6 @@
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
#define ALIGN_UP(x, a) (((x) + (a) - 1) & ~((a) - 1))
|
||||
|
||||
/* Configuration ************************************************************/
|
||||
|
||||
/* Terminology.
|
||||
|
||||
Reference in New Issue
Block a user