Skip to content
Commit 325e2821 authored by Andriy Gelman's avatar Andriy Gelman Committed by Carles Cufí
Browse files

drivers: spi: xmc4xxx: Fix compiler warning with debug flags enabled



Fixes warning when CONFIG_DEBUG_OPTIMIZATION=y:

zephyrproject/modules/hal/infineon/XMCLib/drivers/inc/xmc_usic.h:2132:18:
warning: 'clock_settings' may be used uninitialized [-Wmaybe-uninitialized]
 2132 |                  (uint32_t)passive_level |
      |                  ^~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: default avatarAndriy Gelman <andriy.gelman@gmail.com>
parent a34d4d1c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment