aboutsummaryrefslogtreecommitdiffstats
path: root/demos/AVR-AT90CANx-GCC
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-01-24 17:59:51 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-01-24 17:59:51 +0000
commit8fa109243e5d626a941db8e7d6dc30bb64f9bc9f (patch)
treeac92dda23f29f7f49078904b111e2c2679347a1b /demos/AVR-AT90CANx-GCC
parentf29ada23c52c611b840cd7321fe52e1aa18f5ce9 (diff)
downloadChibiOS-8fa109243e5d626a941db8e7d6dc30bb64f9bc9f.tar.gz
ChibiOS-8fa109243e5d626a941db8e7d6dc30bb64f9bc9f.tar.bz2
ChibiOS-8fa109243e5d626a941db8e7d6dc30bb64f9bc9f.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@675 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/AVR-AT90CANx-GCC')
-rw-r--r--demos/AVR-AT90CANx-GCC/board.c4
1 files changed, 2 insertions, 2 deletions
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();
}