Skip to content

Commit

Permalink
Chage default KConfig to y for QR code and X-Ray app if filesystem ex…
Browse files Browse the repository at this point in the history
…ists.
  • Loading branch information
jakkra committed Oct 8, 2023
1 parent 1d02a50 commit dc913b5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ menu "ZSWatch"
config APPLICATIONS_USE_QR_CODE
bool
prompt "Activate the application 'QR-Code'"
default n
default y if LV_Z_USE_FILESYSTEM

config APPLICATIONS_USE_X_RAY
bool
prompt "Activate the application 'X-Ray'"
default n
default y if LV_Z_USE_FILESYSTEM

config APPLICATIONS_USE_ZDS
bool
Expand Down
2 changes: 1 addition & 1 deletion app/src/applications/qr_code/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if(CONFIG_APPLICATIONS_QR_CODE)
if(CONFIG_APPLICATIONS_USE_QR_CODE)
FILE(GLOB app_sources *.c)
target_sources(app PRIVATE ${app_sources})
endif()
2 changes: 1 addition & 1 deletion app/src/applications/x_ray/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if(CONFIG_APPLICATIONS_X_RAY)
if(CONFIG_APPLICATIONS_USE_X_RAY)
FILE(GLOB app_sources *.c)
target_sources(app PRIVATE ${app_sources})
endif()

0 comments on commit dc913b5

Please sign in to comment.