[Bug 1851] New: CONFIGURE_MESSAGE_BUFFER_MEMORY Example has Typo

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Tue Jul 26 14:11:27 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1851

           Summary: CONFIGURE_MESSAGE_BUFFER_MEMORY Example has Typo
           Product: RTEMS
           Version: 4.9
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: doc
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: joel.sherrill at oarcorp.com


Created attachment 1239
  --> https://www.rtems.org/bugzilla/attachment.cgi?id=1239
Patch

Typo in 4.9 and newer documentation.

What is, on page 246 of the user's manual:

#define CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE \
    (CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( \
    24, sizeof(one_message_type) + \
    CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( \
    500, sizeof(other_message_type) \
    )

Should be, in fact:

#define CONFIGURE_MESSAGE_BUFFER_MEMORY \
    (CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( \
    24, sizeof(one_message_type) + \
    CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( \
    500, sizeof(other_message_type) \
    )

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list