Gedare Bloom started a new discussion on cpukit/dev/can/dcan/dcan.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1341#note_154030

 > + *
 > + * The DCAN IF command register contains a busy bit while a transfer
 > + * between interface registers and message RAM is active.
 > + *
 > + * @param chip Pointer to CAN chip structure.
 > + * @param ifno DCAN interface register set number.
 > + *
 > + * @return 0 on success, negated ETIMEDOUT otherwise.
 > + */
 > +static int dcan_wait_if_not_busy(
 > +  struct rtems_can_chip *chip,
 > +  unsigned int ifno
 > +)
 > +{
 > +  struct dcan_internal *internal = chip->internal;
 > +  int i = 1000;

why 1000?

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1341#note_154030
You're receiving this email because of your account on gitlab.rtems.org. 
Unsubscribe from this thread: 
https://gitlab.rtems.org/-/sent_notifications/4-2guz13k6hbw3dd7d7v4tkgo5f-1d/unsubscribe
 | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | 
Help: https://gitlab.rtems.org/help


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to