From dcd80b7021fca5a52f15492e861f9d872d59e49b Mon Sep 17 00:00:00 2001 From: Patrick Murphy Date: Tue, 2 Feb 2021 06:38:27 -0600 Subject: simplified slow count behavior --- mtac.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/mtac.h b/mtac.h index 4581c07..8b5b09d 100644 --- a/mtac.h +++ b/mtac.h @@ -6,17 +6,11 @@ // it should be set to the value of CONFIG_MTS_NUM_ACCESSORY_PORTS // arch/arm/mach-at91/board-dt-sam9.c // if it is 0 or undefined, there is no accessory card support on this HW -#ifdef mtcpmhs -#define NUM_BUILT_IN 1 - -#else -#define NUM_BUILT_IN 0 -#endif #ifdef CONFIG_MTS_NUM_ACCESSORY_PORTS #ifndef NUM_AP -#define NUM_AP CONFIG_MTS_NUM_ACCESSORY_PORTS + NUM_BUILT_IN +#define NUM_AP CONFIG_MTS_NUM_ACCESSORY_PORTS #endif #else @@ -63,9 +57,7 @@ enum { enum ap { port_1 = 1, port_2, -#ifdef mtcpmhs port_3, -#endif }; // info for accessory port -- cgit v1.2.3