mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 06:42:32 +08:00
arch/arm/src/samv7/sam_emac.c: Fix a compile problem introduced with commit cf1e0f7976.
This commit is contained in:
@@ -342,6 +342,7 @@
|
||||
|
||||
#define EMAC_NQUEUES_REVA 3
|
||||
#define EMAC_NQUEUES_REVB 6
|
||||
#define EMAC_NQUEUES_MAX 6
|
||||
|
||||
/* Interrupt settings */
|
||||
|
||||
@@ -547,15 +548,15 @@ struct sam_emac_s
|
||||
|
||||
/* Transfer queues */
|
||||
|
||||
struct sam_queue_s xfrq[EMAC_MAX_NQUEUES];
|
||||
struct sam_queue_s xfrq[EMAC_NQUEUES_MAX];
|
||||
|
||||
/* Debug stuff */
|
||||
|
||||
#ifdef CONFIG_SAMV7_EMAC_REGDEBUG
|
||||
bool wrlast; /* Last was a write */
|
||||
uintptr_t addrlast; /* Last address */
|
||||
uint32_t vallast; /* Last value */
|
||||
int ntimes; /* Number of times */
|
||||
bool wrlast; /* Last was a write */
|
||||
uintptr_t addrlast; /* Last address */
|
||||
uint32_t vallast; /* Last value */
|
||||
int ntimes; /* Number of times */
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user