From d8be44136c1e6d02ee105ac0791f9e6732551fec Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 1 Nov 2010 17:29:56 +0000 Subject: Fixed bug 3100946, renamed HAL switches removing the CH_ part. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2326 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/Posix/hal_lld.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os/hal/platforms/Posix/hal_lld.c') diff --git a/os/hal/platforms/Posix/hal_lld.c b/os/hal/platforms/Posix/hal_lld.c index 6d25f7aea..dfc4702ca 100644 --- a/os/hal/platforms/Posix/hal_lld.c +++ b/os/hal/platforms/Posix/hal_lld.c @@ -47,7 +47,7 @@ static struct timeval tick = {0, 1000000 / CH_FREQUENCY}; * @brief PAL setup. * @details Digital I/O ports static configuration as defined in @p board.h. */ -#if CH_HAL_USE_PAL || defined(__DOXYGEN__) +#if HAL_USE_PAL || defined(__DOXYGEN__) const PALConfig pal_default_config = { {0, 0, 0}, {0, 0, 0} @@ -86,7 +86,7 @@ void hal_lld_init(void) { void ChkIntSources(void) { struct timeval tv; -#if CH_HAL_USE_SERIAL +#if HAL_USE_SERIAL if (sd_lld_interrupt_pending()) { if (chSchIsRescRequiredExI()) chSchDoRescheduleI(); -- cgit v1.2.3