[Infineon]Fix scb5 can't use bug
This commit is contained in:
parent
a5c62b9a84
commit
022760c569
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue