mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-20 17:44:20 +08:00
[sensor-v2]将当前sensor框架revert回v1版本并独立为v2 (#7698)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
# SConscript for sensor framework
|
||||
|
||||
from building import *
|
||||
|
||||
src = ['sensor_v2.c']
|
||||
|
||||
if GetDepend('RT_USING_SENSOR_CMD'):
|
||||
src += ['sensor_cmd.c']
|
||||
|
||||
group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_SENSOR_V2'])
|
||||
|
||||
Return('group')
|
||||
Reference in New Issue
Block a user