Skip to content

Conversation

@du-yicheng23
Copy link
Contributor

Change the macro from portMAX_DELAY to SIZE_MAX in order to initialize size_t-type variable correctly.

Description

From the topic on forum, I edited the macro from portMAX_DELAY to SIZE_MAX to initialize xMinSize (size_t-type variable) correctly.

Test Steps

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@du-yicheng23 du-yicheng23 requested a review from a team as a code owner August 15, 2025 06:09
@sonarqubecloud
Copy link

@aggarg aggarg merged commit 386c1bc into FreeRTOS:main Aug 15, 2025
17 checks passed
@du-yicheng23 du-yicheng23 deleted the fix-initialize branch August 15, 2025 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants