Răsfoiți Sursa

undo search replace error

graham sanderson 4 ani în urmă
părinte
comite
de436e1f76
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      hw/bsp/rp2040/family.cmake

+ 2 - 2
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