aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/Posix/hal_lld.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-01 17:29:56 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-01 17:29:56 +0000
commitd8be44136c1e6d02ee105ac0791f9e6732551fec (patch)
tree31636040799a284f1f3b650f4ece699f4cf5ad7b /os/hal/platforms/Posix/hal_lld.c
parente1f07aa7c670e670890698ba99df7c07fb78cb5a (diff)
downloadChibiOS-d8be44136c1e6d02ee105ac0791f9e6732551fec.tar.gz
ChibiOS-d8be44136c1e6d02ee105ac0791f9e6732551fec.tar.bz2
ChibiOS-d8be44136c1e6d02ee105ac0791f9e6732551fec.zip
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
Diffstat (limited to 'os/hal/platforms/Posix/hal_lld.c')
-rw-r--r--os/hal/platforms/Posix/hal_lld.c4
1 files changed, 2 insertions, 2 deletions
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();