Changeset 1a21831 in rtems

Timestamp:
10/02/17 11:28:22 (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11
Children:
c139a705
Parents:
8ca15e26
git-author:
Sebastian Huber <sebastian.huber@…> (10/02/17 11:28:22)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/02/17 11:44:36)
Message:

i2c: Fix EEPROM driver program timeout handling

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.

Close #3162.

(No files)

Note: See TracChangeset for help on using the changeset viewer.