From 6471bff88b8423cc785999ed852e236b0ee56532 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Fri, 27 Apr 2018 07:49:11 +0000 Subject: Fixed bug #940. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11956 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- os/hal/src/hal_pal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'os/hal/src') diff --git a/os/hal/src/hal_pal.c b/os/hal/src/hal_pal.c index 3861ebae3..ab07b5216 100644 --- a/os/hal/src/hal_pal.c +++ b/os/hal/src/hal_pal.c @@ -62,7 +62,7 @@ * * @special */ -ioportmask_t palReadBus(IOBus *bus) { +ioportmask_t palReadBus(const IOBus *bus) { osalDbgCheck((bus != NULL) && (bus->offset < PAL_IOPORTS_WIDTH)); @@ -87,7 +87,7 @@ ioportmask_t palReadBus(IOBus *bus) { * * @special */ -void palWriteBus(IOBus *bus, ioportmask_t bits) { +void palWriteBus(const IOBus *bus, ioportmask_t bits) { osalDbgCheck((bus != NULL) && (bus->offset < PAL_IOPORTS_WIDTH)); @@ -110,7 +110,7 @@ void palWriteBus(IOBus *bus, ioportmask_t bits) { * * @special */ -void palSetBusMode(IOBus *bus, iomode_t mode) { +void palSetBusMode(const IOBus *bus, iomode_t mode) { osalDbgCheck((bus != NULL) && (bus->offset < PAL_IOPORTS_WIDTH)); -- cgit v1.2.3