diff options
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/platforms/STM32/can_lld.c | 2 | ||||
-rw-r--r-- | os/kernel/include/ch.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/platforms/STM32/can_lld.c b/os/hal/platforms/STM32/can_lld.c index 0d9d173db..24a944c0f 100644 --- a/os/hal/platforms/STM32/can_lld.c +++ b/os/hal/platforms/STM32/can_lld.c @@ -145,7 +145,7 @@ CH_IRQ_HANDLER(CAN1_SCE_IRQHandler) { if ((esr & CAN_ESR_LEC) > 0)
flags |= CAN_FRAMING_ERROR;
chSysLockFromIsr();
- canAddFlagsI(&CAND1, flags);
+ canAddFlagsI(&CAND1, flags | (canstatus_t)(flags < 16));
chEvtBroadcastI(&CAND1.cd_error_event);
chSysUnlockFromIsr();
}
diff --git a/os/kernel/include/ch.h b/os/kernel/include/ch.h index 87c1c478e..f4dcfede0 100644 --- a/os/kernel/include/ch.h +++ b/os/kernel/include/ch.h @@ -39,7 +39,7 @@ /**
* @brief Kernel version string.
*/
-#define CH_KERNEL_VERSION "2.1.5unstable"
+#define CH_KERNEL_VERSION "2.1.6unstable"
/**
* @brief Kernel version major number.
@@ -54,7 +54,7 @@ /**
* @brief Kernel version patch number.
*/
-#define CH_KERNEL_PATCH 5
+#define CH_KERNEL_PATCH 6
/*
* Common values.
|