We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 979a58d commit 2c0fd06Copy full SHA for 2c0fd06
drivers/nrf_802154/sl/include/nrf_802154_sl_utils.h
@@ -67,10 +67,14 @@
67
(NRF_802154_SL_RTC_FREQUENCY >> NRF_802154_SL_FREQUENCY_US_PER_S_GCD_BITS))
68
69
/**@brief Maximum of two values. */
70
+#ifndef max
71
#define max(a, b) ((a) > (b) ? (a) : (b))
72
+#endif
73
74
/**@brief Minimum of two values. */
75
+#ifndef min
76
#define min(a, b) ((a) < (b) ? (a) : (b))
77
78
79
#ifndef CONTAINER_OF
80
/**@brief Can be used to get a pointer to the structure which contains a given struct element.
0 commit comments