From 665a8e5b93d7680853244db7e3ec28e3feee9015 Mon Sep 17 00:00:00 2001 From: Petro Karashchenko Date: Thu, 6 Apr 2023 17:53:56 +0300 Subject: [PATCH] arch/arm/samv7: fix operation of TC8 and TC11 Signed-off-by: Petro Karashchenko --- arch/arm/src/samv7/sam_tc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/samv7/sam_tc.c b/arch/arm/src/samv7/sam_tc.c index 30bf27614f..7f77b6f345 100644 --- a/arch/arm/src/samv7/sam_tc.c +++ b/arch/arm/src/samv7/sam_tc.c @@ -391,7 +391,7 @@ static const struct sam_tcconfig_s g_tc678config = }, [2] = { - .base = SAM_TC345_CHAN_BASE(8), + .base = SAM_TC678_CHAN_BASE(8), .pid = SAM_PID_TC8, .irq = SAM_IRQ_TC8, @@ -466,7 +466,7 @@ static const struct sam_tcconfig_s g_tc901config = }, [2] = { - .base = SAM_TC345_CHAN_BASE(11), + .base = SAM_TC901_CHAN_BASE(11), .pid = SAM_PID_TC11, .irq = SAM_IRQ_TC11,