Skip to content

Commit

Permalink
Fix ALIGN_UP duplicate definition error
Browse files Browse the repository at this point in the history
ALIGN_UP has been defined in nuttx.h

Signed-off-by: wangmingrong1 <[email protected]>
  • Loading branch information
W-M-R authored and xiaoxiang781216 committed Nov 20, 2024
1 parent 540036a commit d41e3da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/arm/src/mps/mps_allocateheap.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
****************************************************************************/

#include <nuttx/config.h>
#include <nuttx/nuttx.h>

#include <sys/types.h>
#include <stdint.h>
#include <assert.h>
Expand All @@ -43,8 +45,6 @@
* Pre-processor Definitions
****************************************************************************/

#define ALIGN_UP(x, a) (((x) + (a) - 1) & ~((a) - 1))

/* Configuration ************************************************************/

/* Terminology.
Expand Down

0 comments on commit d41e3da

Please sign in to comment.