Skip to content

Commit 8eadee7

Browse files
fix(Other): Include MAX32651 in MXC_SYS_RESET0_USB define fix (#1547)
Remove the redundant #if and make sure MXC_SYS_RESET0_USB is defined on MAX32651 as well. Signed-off-by: Pete Johanson <pete.johanson@analog.com>
1 parent 00c41b2 commit 8eadee7

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

Libraries/zephyr/MAX/Include/wrap_max32_sys.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,8 @@ void max32xx_system_init(void);
5151

5252
#endif
5353

54-
#if defined(CONFIG_SOC_MAX32665) || defined(CONFIG_SOC_MAX32666) || defined(CONFIG_SOC_MAX32650)
55-
5654
#define MXC_SYS_RESET0_USB MXC_SYS_RESET_USB
5755

58-
#endif
59-
6056
#define z_sysclk_prescaler(v) MXC_SYS_SYSTEM_DIV_##v
6157
#define sysclk_prescaler(v) z_sysclk_prescaler(v)
6258

0 commit comments

Comments
 (0)