libc: Replace nuttx/lib/math.h with math.h

Because user may replace math library with other implementation

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Idb5f2a8b2a70302c8561553b3bcbc40529b5257f
This commit is contained in:
Xiang Xiao 2020-06-28 14:46:05 +08:00 committed by Alin Jerpelea
parent b2f3a4b5f9
commit 095e492cb3
3 changed files with 3 additions and 3 deletions

View File

@ -43,6 +43,7 @@
#include <sys/types.h>
#include <sys/ioctl.h>
#include <math.h>
#include <stdint.h>
#include <stdio.h>
#include <fcntl.h>
@ -62,7 +63,6 @@
#include <nuttx/audio/i2s.h>
#include <nuttx/audio/audio.h>
#include <nuttx/audio/cs43l22.h>
#include <nuttx/lib/math.h>
#include "cs43l22.h"

View File

@ -44,6 +44,7 @@
#include <sys/types.h>
#include <sys/ioctl.h>
#include <math.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdio.h>
@ -60,7 +61,6 @@
#include <nuttx/fs/ioctl.h>
#include <nuttx/audio/audio.h>
#include <nuttx/audio/vs1053.h>
#include <nuttx/lib/math.h>
#include "vs1053.h"

View File

@ -50,6 +50,7 @@
#include <sys/types.h>
#include <sys/ioctl.h>
#include <math.h>
#include <stdint.h>
#include <stdio.h>
#include <fcntl.h>
@ -71,7 +72,6 @@
#include <nuttx/audio/i2s.h>
#include <nuttx/audio/audio.h>
#include <nuttx/audio/wm8904.h>
#include <nuttx/lib/math.h>
#include "wm8904.h"