Skip to content

Commit 4ff60ac

Browse files
committed
feature: add MAX and MIN macros
1 parent 471db12 commit 4ff60ac

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

libs/macros.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
#ifndef LIBS_MACROS_H_INCLUDED
33
#define LIBS_MACROS_H_INCLUDED
44

5+
// TODO: Documentation
6+
#define MAX(a, b) a > b ? a : b;
7+
8+
// TODO: Documentation
9+
#define MIN(a, b) a > b ? b : a;
10+
511
/**
612
* @def MAXIMUM_DELAY
713
* @brief Defines the maximum delay in milliseconds.

0 commit comments

Comments
 (0)