diff options
-rw-r--r-- | os/hal/ports/STM32/LLD/eicu_lld.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/os/hal/ports/STM32/LLD/eicu_lld.c b/os/hal/ports/STM32/LLD/eicu_lld.c index 7895cba..d082f35 100644 --- a/os/hal/ports/STM32/LLD/eicu_lld.c +++ b/os/hal/ports/STM32/LLD/eicu_lld.c @@ -162,11 +162,10 @@ static eicuresult_t get_time_both(const EICUDriver *eicup, else if (EICU_WIDTH_32 == eicup->width) { ret.width = chp->last_idle - chp->last_active; ret.period = compare - chp->last_active; - return ret; } /* error trap */ else { - osalSysHalt("ARR register must be loaded with maximum possible value"); + osalSysHalt("Unhandled width value"); } return ret; @@ -205,7 +204,7 @@ static eicucnt_t get_time_width(const EICUDriver *eicup, } /* error trap */ else { - osalSysHalt("ARR register must be loaded with maximum possible value"); + osalSysHalt("Unhandled width value"); return 0; } } @@ -243,7 +242,7 @@ static eicucnt_t get_time_period(const EICUDriver *eicup, } /* error trap */ else { - osalSysHalt("ARR register must be loaded with maximum possible value"); + osalSysHalt("Unhandled width value"); return 0; } } |