projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor documentation fixes.
[pub/USBasp.git]
/
LUFA
/
Common
/
Common.h
diff --git
a/LUFA/Common/Common.h
b/LUFA/Common/Common.h
index
e38d63e
..
43df9fb
100644
(file)
--- a/
LUFA/Common/Common.h
+++ b/
LUFA/Common/Common.h
@@
-160,7
+160,7
@@
* \return The larger of the two input parameters
*/
#if !defined(MAX) || defined(__DOXYGEN__)
* \return The larger of the two input parameters
*/
#if !defined(MAX) || defined(__DOXYGEN__)
- #define MAX(x, y) ((
x > y) ? x : y
)
+ #define MAX(x, y) ((
(x) > (y)) ? (x) : (y)
)
#endif
/** Convenience macro to determine the smaller of two values.
#endif
/** Convenience macro to determine the smaller of two values.
@@
-174,7
+174,7
@@
* \return The smaller of the two input parameters
*/
#if !defined(MIN) || defined(__DOXYGEN__)
* \return The smaller of the two input parameters
*/
#if !defined(MIN) || defined(__DOXYGEN__)
- #define MIN(x, y) ((
x < y) ? x : y
)
+ #define MIN(x, y) ((
(x) < (y)) ? (x) : (y)
)
#endif
#if !defined(STRINGIFY) || defined(__DOXYGEN__)
#endif
#if !defined(STRINGIFY) || defined(__DOXYGEN__)