Fix error: too few arguments to function 'rpmsg_register_callback'

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-08-01 18:20:57 +08:00 committed by Alan Carvalho de Assis
parent 605ea33238
commit bb16886568

View File

@ -1373,5 +1373,5 @@ void sensor_rpmsg_unregister(FAR struct sensor_lowerhalf_s *lower)
int sensor_rpmsg_initialize(void)
{
return rpmsg_register_callback(NULL, sensor_rpmsg_device_created,
NULL, NULL);
NULL, NULL, NULL);
}