mirror of https://github.com/rusefi/ChibiOS.git
Fixed bug 2897636.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1289 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
4e1aad3172
commit
dc283fd4e6
|
@ -141,15 +141,15 @@ void _pal_lld_setgroupmode(ioportid_t port,
|
|||
mh <<= 4;
|
||||
crl <<= 4;
|
||||
crh <<= 4;
|
||||
if ((mask & 1) == 0)
|
||||
if ((mask & 0x0080) == 0)
|
||||
ml |= 0xf;
|
||||
else
|
||||
crl |= cfg;
|
||||
if ((mask & 0x10000) == 0)
|
||||
if ((mask & 0x8000) == 0)
|
||||
mh |= 0xf;
|
||||
else
|
||||
crh |= cfg;
|
||||
mask >>= 1;
|
||||
mask <<= 1;
|
||||
}
|
||||
port->CRH = (port->CRH & mh) | crh;
|
||||
port->CRL = (port->CRL & ml) | crl;
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
*****************************************************************************
|
||||
|
||||
*** 1.3.4 ***
|
||||
- FIX: Fixed bug in STM32 PAL port driver (bug 2897636).
|
||||
- FIX: Fixed problem with ARM-CM3 context switch when compiled at level
|
||||
-O0 (bug 2890382).
|
||||
- FIX: Fixed wrong conditional in chschd.c (bug 2888836).
|
||||
|
|
Loading…
Reference in New Issue