Skip to content

Commit

Permalink
Fix error: implicit declaration of function 'up_mdelay'
Browse files Browse the repository at this point in the history
Signed-off-by: Xiang Xiao <[email protected]>
  • Loading branch information
xiaoxiang781216 committed Nov 3, 2024
1 parent 9882e0e commit bce5dee
Show file tree
Hide file tree
Showing 15 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/sensors/adxl362_uorb.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
#include <debug.h>
#include <stdio.h>
#include <string.h>

#include <sys/param.h>

#include <nuttx/arch.h>
#include <nuttx/kmalloc.h>
#include <nuttx/kthread.h>
#include <nuttx/signal.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/sensors/adxl372.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include <debug.h>
#include <string.h>

#include <nuttx/arch.h>
#include <nuttx/kmalloc.h>
#include <nuttx/fs/fs.h>
#include <nuttx/mutex.h>
Expand Down
2 changes: 1 addition & 1 deletion drivers/sensors/adxl372_uorb.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
#include <debug.h>
#include <stdio.h>
#include <string.h>

#include <sys/param.h>

#include <nuttx/arch.h>
#include <nuttx/kmalloc.h>
#include <nuttx/kthread.h>
#include <nuttx/signal.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/sensors/bmg160.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <debug.h>
#include <string.h>

#include <nuttx/arch.h>
#include <nuttx/kmalloc.h>
#include <nuttx/wqueue.h>
#include <nuttx/fs/fs.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/sensors/bmi270_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include <errno.h>
#include <debug.h>

#include <nuttx/arch.h>
#include <nuttx/kmalloc.h>
#include <nuttx/fs/fs.h>
#include <nuttx/sensors/bmi270.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/sensors/bmm150_uorb.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <stdio.h>
#include <sys/param.h>

#include <nuttx/arch.h>
#include <nuttx/mutex.h>
#include <nuttx/signal.h>
#include <nuttx/kthread.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/sensors/l3gd20_uorb.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include <string.h>
#include <math.h>

#include <nuttx/arch.h>
#include <nuttx/nuttx.h>
#include <nuttx/kmalloc.h>
#include <nuttx/wqueue.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/sensors/lis3dh.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
#include <debug.h>
#include <string.h>

#include <nuttx/arch.h>
#include <nuttx/kmalloc.h>
#include <nuttx/wqueue.h>
#include <nuttx/random.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/sensors/lis3dsh.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <debug.h>
#include <string.h>

#include <nuttx/arch.h>
#include <nuttx/kmalloc.h>
#include <nuttx/wqueue.h>
#include <nuttx/random.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/sensors/lis3mdl.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <debug.h>
#include <string.h>

#include <nuttx/arch.h>
#include <nuttx/kmalloc.h>
#include <nuttx/wqueue.h>
#include <nuttx/random.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/sensors/lsm330_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include <debug.h>
#include <string.h>

#include <nuttx/arch.h>
#include <nuttx/kmalloc.h>
#include <nuttx/fs/fs.h>
#include <nuttx/mutex.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/sensors/mlx90393.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <debug.h>
#include <string.h>

#include <nuttx/arch.h>
#include <nuttx/kmalloc.h>
#include <nuttx/wqueue.h>
#include <nuttx/fs/fs.h>
Expand Down
2 changes: 2 additions & 0 deletions drivers/sensors/msa301.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>

#include <nuttx/arch.h>
#include <nuttx/kmalloc.h>
#include <nuttx/signal.h>
#include <nuttx/mutex.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/sensors/t67xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include <string.h>
#include <time.h>

#include <nuttx/arch.h>
#include <nuttx/kmalloc.h>
#include <nuttx/fs/fs.h>
#include <nuttx/i2c/i2c_master.h>
Expand Down
3 changes: 2 additions & 1 deletion drivers/video/max7456.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,12 @@
#include <debug.h>
#include <string.h>
#include <limits.h>
#include <nuttx/mutex.h>

#include <nuttx/arch.h>
#include <nuttx/bits.h>
#include <nuttx/compiler.h>
#include <nuttx/kmalloc.h>
#include <nuttx/mutex.h>
#include <nuttx/spi/spi.h>
#include <nuttx/fs/fs.h>
#include <nuttx/video/max7456.h>
Expand Down

0 comments on commit bce5dee

Please sign in to comment.