native_posix: kconfig: Fix misplaced USB_NATIVE_POSIX default

Should be within the 'if BOARD_NATIVE_POSIX`, or USB_NATIVE_POSIX will
get enabled whenever USB is (unless a user value overrides it).

Probably didn't cause any problems, since
boards/posix/native_posix/Kconfig.defconfig is only included for this
board.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
Ulf Magnusson 2019-10-24 01:24:34 +02:00 committed by Alberto Escolar
commit 1f046d86a0

View file

@ -95,11 +95,11 @@ config FLASH_NATIVE_POSIX
endif # FLASH
endif # BOARD_NATIVE_POSIX
if USB
config USB_NATIVE_POSIX
default y
endif # USB
endif # BOARD_NATIVE_POSIX