aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-04-27 07:49:11 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-04-27 07:49:11 +0000
commit6471bff88b8423cc785999ed852e236b0ee56532 (patch)
tree28c32253b62cebe7d5bf17c38a2dc252b239f151 /os/hal/include
parent837f2cd0fd066a1a4ee1fe299aac42b7816c7e29 (diff)
downloadChibiOS-6471bff88b8423cc785999ed852e236b0ee56532.tar.gz
ChibiOS-6471bff88b8423cc785999ed852e236b0ee56532.tar.bz2
ChibiOS-6471bff88b8423cc785999ed852e236b0ee56532.zip
Fixed bug #940.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11956 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/include')
-rw-r--r--os/hal/include/hal_pal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/include/hal_pal.h b/os/hal/include/hal_pal.h
index d590e0e30..df87d4d1a 100644
--- a/os/hal/include/hal_pal.h
+++ b/os/hal/include/hal_pal.h
@@ -958,9 +958,9 @@ typedef struct {
#ifdef __cplusplus
extern "C" {
#endif
- ioportmask_t palReadBus(IOBus *bus);
- void palWriteBus(IOBus *bus, ioportmask_t bits);
- void palSetBusMode(IOBus *bus, iomode_t mode);
+ ioportmask_t palReadBus(const IOBus *bus);
+ void palWriteBus(const IOBus *bus, ioportmask_t bits);
+ void palSetBusMode(const IOBus *bus, iomode_t mode);
#if (PAL_USE_CALLBACKS == TRUE) || defined(__DOXYGEN__)
void palSetPadCallbackI(ioportid_t port, iopadid_t pad,
palcallback_t cb, void *arg);