ext: debug: segger: Fix CONFIG_SEGGER_RTT_MODE generation.

The value of CONFIG_SEGGER_RTT_MODE was incorrectly generated
as last default entry overwritten the previous ones. This commit
fixes this problem and ensures that correct value is selected.

Signed-off-by: Piotr Zięcik <piotr.ziecik@nordicsemi.no>
This commit is contained in:
Piotr Zięcik 2018-07-05 17:44:45 +02:00 committed by Carles Cufí
commit 40f7a024ce

View file

@ -51,11 +51,11 @@ endchoice
config SEGGER_RTT_MODE
int
default 0 if SEGGER_RTT_MODE_NO_BLOCK_SKIP
default 0
default 1 if SEGGER_RTT_MODE_NO_BLOCK_TRIM
default 2
default 2 if SEGGER_RTT_MODE_BLOCK_IF_FIFO_FULL
config SEGGER_RTT_MEMCPY_USE_BYTELOOP
bool "Use a simple byte-loop instead of standard memcpy"
endif
endif