mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 08:53:31 +08:00
Update sensor.c
This commit is contained in:
parent
51569a068a
commit
dcce9886e9
@ -488,7 +488,7 @@ int rt_hw_sensor_register(rt_sensor_t sensor,
|
||||
return result;
|
||||
}
|
||||
|
||||
rt_free(device_name);
|
||||
LOG_I("rt_sensor[%s] init success", device_name);
|
||||
rt_free(device_name);
|
||||
return RT_EOK;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user