Commit 45c029e5 authored by Tomasz Wlostowski's avatar Tomasz Wlostowski

Increase MAX_PORTS to 32 to fix crash on 18-ports WRS gateware

parent bfd4c48c
......@@ -125,12 +125,12 @@
#ifdef WRPC_EXTRA_SLIM
#define MAX_PORT_NUMBER 1
#else
#define MAX_PORT_NUMBER 16
#define MAX_PORT_NUMBER 32
#endif
#define MIN_PORT_NUMBER 1
#define WR_PORT_NUMBER 10
#define WR_PORT_NUMBER 32
#define WR_SLAVE_CLOCK_CLASS 248
#define WR_MASTER_CLOCK_CLASS 5
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment