flexPTP
1.0
An IEEE 1588 PTP implementation designed for microcontrollers
Loading...
Searching...
No Matches
minmax.h
Go to the documentation of this file.
1
#ifndef FLEXPTP_MINMAX
2
#define FLEXPTP_MINMAX
3
4
#ifdef MIN
5
#undef MIN
6
#endif
7
8
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
9
10
#ifdef MAX
11
#undef MAX
12
#endif
13
14
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
15
16
#endif
/* FLEXPTP_MINMAX */
src
flexptp
minmax.h
Generated by
1.9.6