From 1bb5385a5fb338c1839643d4f05c7f8648af44bc Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Tue, 15 Aug 2023 19:27:39 +0200 Subject: [PATCH] Remove duplicated min(..) & max(..) macros Already provided by motoPlus.h in the M+ SDK. --- src/MotoROS.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/MotoROS.h b/src/MotoROS.h index b804153e..7eb78460 100644 --- a/src/MotoROS.h +++ b/src/MotoROS.h @@ -106,7 +106,4 @@ extern void Ros_Sleep(float milliseconds); -#define max(x, y) (((x) < (y)) ? (y) : (x)) -#define min(x, y) (((x) < (y)) ? (x) : (y)) - #endif // MOTOROS2_MOTOROS_H