driver/sensor: enable usensor and rpmsg_sensor

Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
Jiuzhu Dong 2022-04-14 12:21:45 +08:00 committed by Xiang Xiao
parent c5f87bb5c6
commit 8de6c29aa4

View File

@ -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
}