rtos: Unbreak semaphore, trade assert for saturation with original limit
Before rtx 5, the max count on semaphores was UINT16_MAX, aftewards it
was decreased to 1024 with an assert on overflow.

This is especially problematic for semaphores used for signaling, since
there is no replacement currently available in C++.
ls
1 parent 226af54 commit 6b02ceab5dda4f60078696f11dbc329a994434a8
@Christopher Haster Christopher Haster authored on 16 Jun 2017
Showing 2 changed files
View
platform/mbed_retarget.cpp
View
rtos/Semaphore.cpp