mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +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_REVA 3
|
||||||
#define EMAC_NQUEUES_REVB 6
|
#define EMAC_NQUEUES_REVB 6
|
||||||
|
#define EMAC_NQUEUES_MAX 6
|
||||||
|
|
||||||
/* Interrupt settings */
|
/* Interrupt settings */
|
||||||
|
|
||||||
@@ -547,7 +548,7 @@ struct sam_emac_s
|
|||||||
|
|
||||||
/* Transfer queues */
|
/* Transfer queues */
|
||||||
|
|
||||||
struct sam_queue_s xfrq[EMAC_MAX_NQUEUES];
|
struct sam_queue_s xfrq[EMAC_NQUEUES_MAX];
|
||||||
|
|
||||||
/* Debug stuff */
|
/* Debug stuff */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user