Skip to content
Permalink
Browse files

subsys/random: Hide 'Random generator' choice when empty

Prevent the choice from showing up in the menu when none of the choice
symbols are visible.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
  • Loading branch information...
ulfalizer authored and galak committed May 13, 2019
1 parent 48edfc2 commit 635755891ef096090e563acbb3aa2ffe57cee98d
Showing with 1 addition and 0 deletions.
  1. +1 −0 subsys/random/Kconfig
@@ -18,6 +18,7 @@ config TEST_RANDOM_GENERATOR
choice
prompt "Random generator"
default ENTROPY_DEVICE_RANDOM_GENERATOR
depends on ENTROPY_HAS_DRIVER || TEST_RANDOM_GENERATOR

config X86_TSC_RANDOM_GENERATOR
bool "x86 timestamp counter based number generator"

0 comments on commit 6357558

Please sign in to comment.
You can’t perform that action at this time.