summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgraham sanderson <[email protected]>2021-06-02 11:30:42 -0500
committergraham sanderson <[email protected]>2021-06-02 11:30:42 -0500
commitde436e1f766c136edaec298d11c55edd937678fe (patch)
tree73206320afefed97238bcb3dbbcbd7deccf9b358
parent1fb211f3900d4ce27083930edf4d8a107c7d4610 (diff)
undo search replace error
-rw-r--r--hw/bsp/rp2040/family.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/bsp/rp2040/family.cmake b/hw/bsp/rp2040/family.cmake
index 8c9b9ec1d..752eb0cab 100644
--- a/hw/bsp/rp2040/family.cmake
+++ b/hw/bsp/rp2040/family.cmake
@@ -19,8 +19,8 @@ if (NOT TARGET _rp2040_family_inclusion_marker)
set(TOP "${CMAKE_CURRENT_LIST_DIR}/../../..")
get_filename_component(TOP "${TOP}" REALPATH)
- if (NOT TOP)
- set(TOP ${TOP})
+ if (NOT PICO_TINYUSB_PATH)
+ set(PICO_TINYUSB_PATH ${TOP})
endif()
# Base config for both device and host; wrapped by SDK's tinyusb_common