diff --git a/arch/arm/src/samv7/sam_qencoder.c b/arch/arm/src/samv7/sam_qencoder.c index 690366b957..5f125057d9 100644 --- a/arch/arm/src/samv7/sam_qencoder.c +++ b/arch/arm/src/samv7/sam_qencoder.c @@ -118,7 +118,7 @@ static struct sam_lowerhalf_s g_tc0lower = static struct sam_lowerhalf_s g_tc1lower = { .ops = &g_qecallbacks, - .timid = 1, + .tcid = 1, .inuse = false, }; #endif diff --git a/arch/arm/src/samv7/sam_tc.c b/arch/arm/src/samv7/sam_tc.c index 7f77b6f345..81a49bc5be 100644 --- a/arch/arm/src/samv7/sam_tc.c +++ b/arch/arm/src/samv7/sam_tc.c @@ -514,7 +514,7 @@ static struct sam_tc_s g_tc345 = static struct sam_tc_s g_tc678 = { .lock = NXMUTEX_INITIALIZER, - .base = SAM_TC789_BASE, + .base = SAM_TC678_BASE, .tc = 2, }; #endif