diff options
Diffstat (limited to 'os')
-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 38da716..8b03da6 100644 --- a/os/hal/ports/STM32/LLD/eicu_lld.c +++ b/os/hal/ports/STM32/LLD/eicu_lld.c @@ -195,11 +195,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; @@ -238,7 +237,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; } } @@ -276,7 +275,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; } } |