Merge pull request #10291 from lrusinowicz/sequana_psa_deepsleep

FUTURE_SEQUANA: Fixed LP ticker for M0 core
pull/10302/head
Martin Kojtal 2019-04-03 08:59:20 +02:00 committed by GitHub
commit 1d26dbb068
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -63,8 +63,8 @@ static cy_stc_mcwdt_config_t config = {
// Interrupt configuration.
static cy_stc_sysint_t lpt_sysint_config = {
#if defined(TARGET_MCU_PSOC6_M0)
.intrSrc = (IRQn_Type)(-1),
.cm0pSrc = CY_M0_CORE_IRQ_CHANNEL_LP_TICKER,
.intrSrc = CY_M0_CORE_IRQ_CHANNEL_LP_TICKER,
.cm0pSrc = LPT_INTERRUPT_SOURCE,
#else
.intrSrc = LPT_INTERRUPT_SOURCE,
#endif