aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/MSP430
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-04-03 11:29:27 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-04-03 11:29:27 +0000
commitc4fec713d238a4396ee5693c986e3d25a74082e5 (patch)
tree7f228bfc51fd8746443940cef8576c21b7e55d1f /os/hal/platforms/MSP430
parent8d2e166f09025f1cdb36f4ac09260dc66f29e598 (diff)
downloadChibiOS-c4fec713d238a4396ee5693c986e3d25a74082e5.tar.gz
ChibiOS-c4fec713d238a4396ee5693c986e3d25a74082e5.tar.bz2
ChibiOS-c4fec713d238a4396ee5693c986e3d25a74082e5.zip
Improvements to the PAL drivers.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2867 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/MSP430')
-rw-r--r--os/hal/platforms/MSP430/pal_lld.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/os/hal/platforms/MSP430/pal_lld.h b/os/hal/platforms/MSP430/pal_lld.h
index 7741e8f12..31ee669a0 100644
--- a/os/hal/platforms/MSP430/pal_lld.h
+++ b/os/hal/platforms/MSP430/pal_lld.h
@@ -255,9 +255,7 @@ typedef msp430_ioport_t *ioportid_t;
*
* @notapi
*/
-#define pal_lld_writeport(port, bits) { \
- (port)->iop_common.out.reg_p = (bits); \
-}
+#define pal_lld_writeport(port, bits) ((port)->iop_common.out.reg_p = (bits))
/**
* @brief Pads group mode setup.