From f06c7a7ffa7ca7bcd0c86238e9f94a9f4cf8333f Mon Sep 17 00:00:00 2001 From: henryk Date: Fri, 21 Dec 2007 00:24:39 +0000 Subject: Use finer grained #ifdef's for the new board's features git-svn-id: https://svn.openpcd.org:2342/trunk@400 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- openpicc/application/tc_cdiv_sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openpicc/application/tc_cdiv_sync.c') diff --git a/openpicc/application/tc_cdiv_sync.c b/openpicc/application/tc_cdiv_sync.c index c6d3f47..dbaf3f7 100644 --- a/openpicc/application/tc_cdiv_sync.c +++ b/openpicc/application/tc_cdiv_sync.c @@ -46,7 +46,7 @@ void tc_cdiv_sync_reset(void) for (i = 0; i < 0xff; i++) ; AT91F_PIO_SetOutput(AT91C_BASE_PIOA, OPENPICC_PIO_SSC_DATA_CONTROL); -#ifdef OPENPICC_MODIFIED_BOARD +#ifdef OPENPICC_USE_CLOCK_GATING /* reset tc_cdiv counter, the cleared frame signal stopped the tc_cdiv clock */ tc_cdiv_reset(); #endif -- cgit v1.2.3