aboutsummaryrefslogtreecommitdiff
path: root/example/generator/odp_generator.c
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2023-08-25 15:54:11 +0300
committerMatias Elo <matias.elo@nokia.com>2023-10-23 10:59:18 +0300
commitc5ada8c5c4a498020bc8b8cb4371a506d2800f2c (patch)
tree6d3d9d8db4b440d3dd099736113b18fbd854a001 /example/generator/odp_generator.c
parentab22998f4d2ec452d48831689d9112ef37d78b04 (diff)
example: use new ODPH_MIN and ODPH_MAX macros
Utilize new ODPH_MIN() and ODPH_MAX() macros in example applications. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'example/generator/odp_generator.c')
-rw-r--r--example/generator/odp_generator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c
index b1d1f83e2..95ba04c1e 100644
--- a/example/generator/odp_generator.c
+++ b/example/generator/odp_generator.c
@@ -35,7 +35,6 @@
#define APPL_MODE_UDP 0 /**< UDP mode */
#define APPL_MODE_PING 1 /**< ping mode */
#define APPL_MODE_RCV 2 /**< receive mode */
-#define MAX(a, b) (((a) > (b)) ? (a) : (b))
#define PING_THR_TX 0
#define PING_THR_RX 1