From 8fa109243e5d626a941db8e7d6dc30bb64f9bc9f Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 24 Jan 2009 17:59:51 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@675 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/AVR-AT90CANx-GCC/board.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'demos/AVR-AT90CANx-GCC') diff --git a/demos/AVR-AT90CANx-GCC/board.c b/demos/AVR-AT90CANx-GCC/board.c index cf97132cf..96b6c7e53 100644 --- a/demos/AVR-AT90CANx-GCC/board.c +++ b/demos/AVR-AT90CANx-GCC/board.c @@ -26,9 +26,9 @@ CH_IRQ_HANDLER(TIMER0_COMP_vect) { CH_IRQ_PROLOGUE(); - chSysLockI(); + chSysLockFromIsr(); chSysTimerHandlerI(); - chSysUnlockI(); + chSysUnlockFromIsr(); CH_IRQ_EPILOGUE(); } -- cgit v1.2.3