PortaPack: Move UI code to hackrf_usb project.

Was in common/ and in the common CMake file, which meant it was being included in the blinky project, which was unnecessary.
This commit is contained in:
Jared Boone
2019-01-31 09:37:48 +00:00
parent 7b86403ce8
commit 499ac3ad4a
4 changed files with 7 additions and 7 deletions

View File

@ -139,13 +139,6 @@ macro(DeclareTargets)
)
endif()
if(USER_INTERFACE STREQUAL "PORTAPACK")
SET(SRC_M4
${SRC_M4}
${PATH_HACKRF_FIRMWARE_COMMON}/ui_portapack.c
)
endif()
configure_file(
${PATH_HACKRF_FIRMWARE_COMMON}/m0_bin.s.cmake
m0_bin.s

View File

@ -54,4 +54,11 @@ set(SRC_M4
"${PATH_HACKRF_FIRMWARE_COMMON}/operacake.c"
)
if(USER_INTERFACE STREQUAL "PORTAPACK")
SET(SRC_M4
${SRC_M4}
ui_portapack.c
)
endif()
DeclareTargets()