[RTEMS Project] #3162: I2C EEPROM driver uses incorrect program timeout handling
RTEMS trac
trac at rtems.org
Mon Oct 2 11:28:12 UTC 2017
#3162: I2C EEPROM driver uses incorrect program timeout handling
-----------------------------+-----------------------------
Reporter: Sebastian Huber | Owner: Sebastian Huber
Type: defect | Status: assigned
Priority: normal | Milestone: 4.11.3
Component: cpukit | Version: 4.11
Severity: normal | Keywords:
-----------------------------+-----------------------------
The RTEMS_MILLISECONDS_TO_TICKS() macro doesn't round up. Do not use it to
calculate the program timeout in ticks. Check program done condition
after the timeout check to account for pre-emptions.
--
Ticket URL: <http://devel.rtems.org/ticket/3162>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list