Revision 167
some changes
utils.h | ||
---|---|---|
39 | 39 |
* @param b Second value |
40 | 40 |
* @return The minimum of the two values |
41 | 41 |
*/ |
42 |
int16_t min(int16_t a, int16_t b);
|
|
42 |
int32_t min(int32_t a, int32_t b);
|
|
43 | 43 |
|
44 | 44 |
/** |
45 | 45 |
* @brief Gets the maximum value out of two values. |
... | ... | |
47 | 47 |
* @param b Second value |
48 | 48 |
* @return The maximum of the two values |
49 | 49 |
*/ |
50 |
int16_t max(int16_t a, int16_t b);
|
|
50 |
int32_t max(int32_t a, int32_t b);
|
|
51 | 51 |
|
52 | 52 |
|
53 | 53 |
#endif //UTILS_H_INCLUDED |
Also available in: Unified diff