Skip to content

Commit a23c075

Browse files
committed
Wrap modifications in #ifdef ARDUINO
1 parent c5337e2 commit a23c075

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.development

Whitespace-only changes.

src/driver/source/nmasic.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,11 @@
5151
#define NMI_INTR_ENABLE (NMI_INTR_REG_BASE)
5252
#define GET_UINT32(X,Y) (X[0+Y] + ((uint32)X[1+Y]<<8) + ((uint32)X[2+Y]<<16) +((uint32)X[3+Y]<<24))
5353

54+
#ifdef ARDUINO
5455
#define TIMEOUT (2000)
56+
#else
57+
#define TIMEOUT (0xfffffffful)
58+
#endif
5559
#define M2M_DISABLE_PS (0xd0ul)
5660

5761
static uint32 clk_status_reg_adr = 0xf; /* Assume initially it is B0 chip */

0 commit comments

Comments
 (0)