mirror of
https://github.com/apache/nuttx.git
synced 2026-08-10 06:55:13 +00:00
nuttx: Use MIN/MAX definitions from "sys/param.h"
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
parent
079e2b8c7c
commit
e6b204f438
179 changed files with 195 additions and 1304 deletions
|
|
@ -25,6 +25,7 @@
|
|||
#include <nuttx/config.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sys/param.h>
|
||||
#include <assert.h>
|
||||
#include <debug.h>
|
||||
#include <errno.h>
|
||||
|
|
@ -40,7 +41,6 @@
|
|||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
|
||||
#define DEVNAME_FMT "/dev/lirc%d"
|
||||
#define DEVNAME_MAX 32
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue