提交 022760c5 编写于 作者: R Rbb666 提交者: mysterywolf

[Infineon]Fix scb5 can't use bug

上级 a5c62b9a
......@@ -46,7 +46,7 @@ extern "C" {
#endif
#if defined(CY_IP_MXSCB_INSTANCES)
#if defined(CY_DEVICE_PSOC6A256K)
#if defined(CY_DEVICE_PSOC6A256K) || defined(CY8C624ALQI_S2D42)
//Special case for 256k device which has 6 SCBs numbered 0, 1, 2, 4, 5, 6
#define _SCB_ARRAY_SIZE (CY_IP_MXSCB_INSTANCES + 1)
#else
......
......@@ -51,7 +51,7 @@ CySCB_Type *const _CYHAL_SCB_BASE_ADDRESSES[_SCB_ARRAY_SIZE] =
#endif
#ifdef SCB3
SCB3,
#elif defined(CY_DEVICE_PSOC6A256K)
#elif defined(CY_DEVICE_PSOC6A256K) || defined(CY8C624ALQI_S2D42)
NULL, // Placeholder
#endif
#ifdef SCB4
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册