driver/sensor: enable usensor and rpmsg_sensor
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
parent
c5f87bb5c6
commit
8de6c29aa4
@ -31,9 +31,10 @@
|
||||
#include <nuttx/net/telnet.h>
|
||||
#include <nuttx/note/note_driver.h>
|
||||
#include <nuttx/power/pm.h>
|
||||
#include <nuttx/sensors/sensor.h>
|
||||
#include <nuttx/serial/pty.h>
|
||||
#include <nuttx/syslog/syslog.h>
|
||||
#include <nuttx/syslog/syslog_console.h>
|
||||
#include <nuttx/serial/pty.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
@ -143,4 +144,12 @@ void drivers_initialize(void)
|
||||
|
||||
telnet_initialize();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USENSOR
|
||||
usensor_initialize();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SENSORS_RPMSG
|
||||
sensor_rpmsg_initialize();
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user