diff options
| author | zhangyuyang <[email protected]> | 2026-10-16 15:32:33 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2026-10-17 16:42:48 +0800 |
| commit | 8159dc81b773bd82f191696b672c69dec2742328 (patch) | |
| tree | b7f48e8095f0380ccc55bf4100bbfca38fba8c6e /components/drivers/touch/SConscript | |
| parent | fc64f78669b42b35981f97c23c7e952832f3b48b (diff) | |
[drivers][touch] Remove redundant path from global CPPPATH
The touch framework has no private headers in its source directory, so
adding the directory to CPPPATH is unnecessary. Remove it to avoid
polluting the global header search path, as discussed in #10980.
Diffstat (limited to 'components/drivers/touch/SConscript')
| -rw-r--r-- | components/drivers/touch/SConscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/touch/SConscript b/components/drivers/touch/SConscript index ba646b0a80..d4083fbdd7 100644 --- a/components/drivers/touch/SConscript +++ b/components/drivers/touch/SConscript @@ -4,7 +4,7 @@ from building import * cwd = GetCurrentDir() src = ['dev_touch.c'] -CPPPATH = [cwd, cwd + '/../include'] +CPPPATH = [cwd + '/../include'] group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_TOUCH', 'RT_USING_DEVICE'], CPPPATH = CPPPATH) |
