mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-06-22 00:50:34 +08:00
* Re-add missing license files caused by PR #471. * Fix proof patch.
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
diff --git a/FreeRTOS/Source/queue.c b/FreeRTOS/Source/queue.c
|
diff --git a/FreeRTOS/Source/queue.c b/FreeRTOS/Source/queue.c
|
||||||
index d2e27e55a..4dd164da6 100644
|
index b01dfd11f..b219b599a 100644
|
||||||
--- a/FreeRTOS/Source/queue.c
|
--- a/FreeRTOS/Source/queue.c
|
||||||
+++ b/FreeRTOS/Source/queue.c
|
+++ b/FreeRTOS/Source/queue.c
|
||||||
@@ -395,7 +395,7 @@ BaseType_t xQueueGenericReset( QueueHandle_t xQueue,
|
@@ -395,7 +395,7 @@ BaseType_t xQueueGenericReset( QueueHandle_t xQueue,
|
||||||
@ -9,5 +9,5 @@ index d2e27e55a..4dd164da6 100644
|
|||||||
- configASSERT( ( uxItemSize == 0 ) || ( uxQueueLength == ( xQueueSizeInBytes / uxItemSize ) ) );
|
- configASSERT( ( uxItemSize == 0 ) || ( uxQueueLength == ( xQueueSizeInBytes / uxItemSize ) ) );
|
||||||
+ /* configASSERT( ( uxItemSize == 0 ) || ( uxQueueLength == ( xQueueSizeInBytes / uxItemSize ) ) ); */
|
+ /* configASSERT( ( uxItemSize == 0 ) || ( uxQueueLength == ( xQueueSizeInBytes / uxItemSize ) ) ); */
|
||||||
|
|
||||||
/* Allocate the queue and storage area. Justification for MISRA
|
/* Check for addition overflow. */
|
||||||
* deviation as follows: pvPortMalloc() always ensures returned memory
|
configASSERT( ( sizeof( Queue_t ) + xQueueSizeInBytes ) > xQueueSizeInBytes );
|
||||||
|
@ -17,6 +17,8 @@
|
|||||||
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
||||||
|
# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
||||||
|
# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
# SOFTWARE.
|
# SOFTWARE.
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user