From de436e1f766c136edaec298d11c55edd937678fe Mon Sep 17 00:00:00 2001 From: graham sanderson Date: Wed, 2 Jun 2021 11:30:42 -0500 Subject: [PATCH] undo search replace error --- hw/bsp/rp2040/family.cmake | 4 ++-- 1 file 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