diff options
author | Fabio Utzig <utzig@utzig.org> | 2016-05-25 19:04:42 -0300 |
---|---|---|
committer | Fabio Utzig <utzig@utzig.org> | 2016-05-25 19:04:42 -0300 |
commit | 209c3566776302eddb7819ff6c6dcfc645edff90 (patch) | |
tree | db243ceded7504b40fc8645513c48d8270b13c3f /os/hal/ports/KINETIS/LLD/hal_pal_lld.c | |
parent | e1311c4db6cd366cf760673f769e925741ac0ad3 (diff) | |
parent | 3cde591bd28011e76cbeb56996dec8a9d151b9b6 (diff) | |
download | ChibiOS-Contrib-209c3566776302eddb7819ff6c6dcfc645edff90.tar.gz ChibiOS-Contrib-209c3566776302eddb7819ff6c6dcfc645edff90.tar.bz2 ChibiOS-Contrib-209c3566776302eddb7819ff6c6dcfc645edff90.zip |
Merge pull request #78 from flabbergast/kinetis
[KINETIS] Fixes for kernel-less builds.
Diffstat (limited to 'os/hal/ports/KINETIS/LLD/hal_pal_lld.c')
-rw-r--r-- | os/hal/ports/KINETIS/LLD/hal_pal_lld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/KINETIS/LLD/hal_pal_lld.c b/os/hal/ports/KINETIS/LLD/hal_pal_lld.c index b307833..51f8a2e 100644 --- a/os/hal/ports/KINETIS/LLD/hal_pal_lld.c +++ b/os/hal/ports/KINETIS/LLD/hal_pal_lld.c @@ -108,7 +108,7 @@ void _pal_lld_setpadmode(ioportid_t port, PORT_TypeDef *portcfg = NULL;
- chDbgAssert(pad < PADS_PER_PORT, "pal_lld_setpadmode() #1, invalid pad");
+ osalDbgAssert(pad < PADS_PER_PORT, "pal_lld_setpadmode() #1, invalid pad");
if (mode == PAL_MODE_OUTPUT_PUSHPULL)
port->PDDR |= ((uint32_t) 1 << pad);
@@ -126,7 +126,7 @@ void _pal_lld_setpadmode(ioportid_t port, else if (port == IOPORT5)
portcfg = PORTE;
- chDbgAssert(portcfg != NULL, "pal_lld_setpadmode() #2, invalid port");
+ osalDbgAssert(portcfg != NULL, "pal_lld_setpadmode() #2, invalid port");
switch (mode) {
case PAL_MODE_RESET:
|