[bug #55017] Wrong return value in sys_arch_mbox_tryfetch() in FreeRTOS port

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[bug #55017] Wrong return value in sys_arch_mbox_tryfetch() in FreeRTOS port

Jasper Verschueren
URL:
  <https://savannah.nongnu.org/bugs/?55017>

                 Summary: Wrong return value in sys_arch_mbox_tryfetch() in
FreeRTOS port
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: marcoe
            Submitted on: Tue 13 Nov 2018 02:25:28 PM UTC
                Category: Platform ports
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
            lwIP version: 2.1.1

    _______________________________________________________

Details:

As per title, sys_arch_mbox_tryfetch() in FreeRTOS port returns 1 when an
element is received from the queue.
According to comments in sys.h the function should return 0 in this case.





    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?55017>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel
Reply | Threaded
Open this post in threaded view
|

[bug #55017] Wrong return value in sys_arch_mbox_tryfetch() in FreeRTOS port

Jasper Verschueren
Update of bug #55017 (project lwip):

                  Status:                    None => Fixed                  
             Open/Closed:                    Open => Closed                

    _______________________________________________________

Follow-up Comment #1:

Fixed, thanks for reporting!

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?55017>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel